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
A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?
What is check table?
What are the time related infotypes? : abap hr
Abstract class and interface, multiple inheritance, live example
What are number ranges?
What are the ways you can do the tuning?
Explain enhancements
What is Group by in Select statement?
What is interactive reporting?
How do you save data in bdc tables? : abap bdc
What are the features of abap/4 dictionary? : abap data dictionary
How are BAPI different from Normal function modules ?
What is value table? : abap data dictionary
What is lock mechanism? How do we create lock objects in abap?
What is the Difference between At Line selection and At user-command?