what is the difference b/w linear search and binary search?
(how can these search)
Answer Posted / amalberba
The following table shows how the maximum number of
comparisons increases for binary search and linear search.
Array Size Worst Case Comparisons
Linear Search Binary Search
100,000 100,000 16
200,000 200,000 17
400,000 400,000 18
800,000 800,000 19
1,600,000 1,600,000 20
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many primary keys can be created for a table?
How do you retrieve the data for repetitive structures ? : abap hr
What is macro? : abap hr
Write special commands of list?
What are the different types of view?
How do you process errors in session method ? : abap bdc
Can we use on change of between select and endselect?
What is an rdbms?
What are the events driven batch jobs?
What are the list of screen elements?
What is the transaction code to display the payroll results ? : abap hr
Lock objects and what are parameters of ENQUEUE FM?
Of the two call transaction and session method, which is faster?
Why do we use types statement in abap programming?
How can end-of-selection be used?