what is the difference b/w linear search and binary search?
(how can these search)
Answer Posted / prabhjot singh
1.linear search is easy bt takes more time to search an
element as it compare all element sequentially...
2.elements r arranged randomly.
1. in binary search it start searching from middle, if the
searching element is not found in middle then it goes to
1/4,and vice versa..
and hence take less time than linear search.
2.elements r arranged in sorted orrder.
| Is This Answer Correct ? | 32 Yes | 9 No |
Post New Answer View All Answers
What are advantages and disadvantages of logical data base
How do we assign dynamic views while creating material master and generating bdc? : abap bdc
Does the call transaction method allow multiple transactions to be processed by sap? : abap bdc
What are the advantages of logical databases?
What is the significance of delivery class? : abap data dictionary
We have got some values for Field F1 say 1,2,3,4 and F2 say 10,10,10,10.Now can you tell me what would be the output for F1 if we use At End Of event?and what would be the output for F2 if we use At Last event?Also i want to know what is the difference between Total calculation for At end event and grand total for At last event???
What is a size category? : abap data dictionary
What is the meaning of abap/4 editor integrated with abap/4 data dictionary?
Is there any method apart from bdc for data upload to sap? : abap bdc
Explain what is sap script? What is the purpose of sap script? Difference between sap script and report?
How can we send data to external programs?
Explain the advantages of abap query tool?
Difference between user exit and badis?
What is new enhancement framework?
Some Realtime Objects on Bdc.