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
In ALV reporting when u execute your report which event gets triggered.
What is a multiple line field?
What are the features of abap/4 dictionary? : abap data dictionary
How do you find number of records present in internal table?
State the system field for the current date?
What is cts and what do you know about it? : abap hr
What is the difference between synchronous and asynchronous update? : abap bdc
Define infotype ? : abap hr
What are the attributes of a field that can be activated or deactivated during runtime?
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
What is the t-code to display batch input sessions? : abap bdc
Explain the session method? : abap bdc
What is screen flow logic? What are the sections in it?
Concepts of OO ABAP and why we are using it?
What is the difference between function group and function module?