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 field string ? & where we are using field strings?
What is the client concept in sap?
Is sap xi intended to replace ale?
PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..
Difference between top-of-page and top-of-page during at line- selection?
What is the t-code to display batch input sessions? : abap bdc
How to find the return code of a statement in abap programs?
What is the significance of delivery class?
What are client dependant objects in abap/sap?
what is leave to TRANSACTION?
A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary
How many ways you can create table? : abap data dictionary
when u prefer lsmw?
What is lock mechanism? How do we create lock objects in abap?
What is human resource information systems (chris)? : sap abap hr