what is the difference b/w linear search and binary search?
(how can these search)
Answer Posted / indrani chowdhury
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 ? | 17 Yes | 3 No |
Post New Answer View All Answers
When you prefer lsmw?
What is the difference between RETURNING and CHANGING parameters for a method?
What is the difference between a dialog program and a report?
What are the different abap/4 editors?
In what ways we can get the context sensitive f1 help on a field?
What are function modules?
What is Group by in Select statement?
Is it possible to pass data to and from include programs explicitly?
What is ole?
What is client in the sap system? : sap abap hr
what will happen if called program is not executable ?
Can we create field without data element? If yes, how?
How to eliminate duplicate entries in internal tables? : abap data dictionary
Explain the function module in bdc?
Define abap/4 layer?