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
Which commands are used for interactive reports?
What are the requirements a dialog program must fulfill?
Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?
What is a size category?
Does the bdc-insert function allow multiple transactions to be processed by sap? : abap bdc
How can you access the function code from menu painter?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
Explain the advantages of abap query tool?
What is the t-code to display batch input sessions? : abap bdc
Is there any method apart from bdc for data upload to sap? : abap bdc
hi,how to diable the popup window which is displayed afetr executing the SAP script program?
What happens if we use leave to list-processing without using suppress-dialog?
Under Data Transfer Portion of ABAP, what do you mean by DX Project
Can you delete data element, which is being used by table fields?
How to load data from ms excel sheet to sap by using bdc method ? : abap bdc