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
How did you test the form you developed? How did you taken print?
What are the kinds of foreign key fields?
What is the basic difference internal tables and database tables? : abap data dictionary
What is match code? : sap abap hr
What are hashed tables?
How to create a link between modified form and modified print program?
could anyone tell me what r real time questions been asked in interviews?i am in urgent need..thanks in advance
Which infotype records can not be deleted ? : abap hr
How will you transfer data into a file in application server?
What is netweaver???what is the relationship with ABAP?
Can you print decimals in type n?
Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary
What do you mean by pooled tables in sap abap? Also explain what do you mean by table pool? : abap data dictionary
Events that can be used in both the classical and interactive reports
how to read the standard field value in your custom program.