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 are logical databases? What are the advantages of logical databases?
What is processing class, where we do them and why? : sap abap hr
Event handling in oops
Difference between .Include and .append?
BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul
What are secondary indexes. How can we know which index is being used in a select query?
What are user exits? What is involved in writing them? What precations are needed?
What is abap work bench?
What is database view ? : sap abap data dictionary
Which function modules can be used to transfer the data using bdc programming? : abap bdc
Explain what are standard layouts sets in the sap script?
How to debug a script in abap?
Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.
How do you display a data in a detail list?
What is the different type of projects? : sap abap hr