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
What are interface/conversion programs in SAP?
Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...
When you prefer lsmw?
What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr
What are the different database integrities?
send coding to write a program to create customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA2/BAPI_QUOTATION_CREATEFR OMDATA'
What is the difference between data elements and domains? : abap data dictionary
Explain pai and pbo.
Explain the difference between get and get late?
Can we use write statements in screen fields?if not how is data transferred from field data to screen fields?
Rp_provide_from_last contains how many parameters ? : abap hr
What are the payroll related infotypes? : abap hr
What is the difference b/t Session method and call transaction method ??
Why we are using Macros instead of Function Modules
after creating lock object if does n't access record by second user what should we do?