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
What is a sequence of event-triggered in report?
What does the insert statement in extract datasets do?
What is the difference between free and refresh?
how to see the tables of 200 in client 100?
What are the parameters used in each function?
What is difference between dialog program and a report?
how to genernate 21 sencondary index
What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What is open sql vs native sql ?
What functions does a data dictionary perform? : abap data dictionary
I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.
What is a report?
What is meant by performance analysis? Have done anything to improve the performance?
What is asynchronous update?
performance tuning concepts