what is the difference b/w linear search and binary search?
(how can these search)

Answer Posted / vandan

in case of linear search system will search from begining.
that means Example : z table contains single field with values
1 2 3 4 5 6 7 8 9
if u r searching for a value then system will starts from
first position. if required value is founded then execution
will comes out from z table.

in case of binary search system will starts from mid point.
if value is not founded then it will search for upper half.
in that upper half it will check mid point.like that search
will takes place.

Is This Answer Correct ?    112 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

wat are the process that can be executed & tracked in a workflow?

1657


What are the differences between structure and table in data dictionary in abap? : sap abap data dictionary

589


What is open sql?

580


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.

1589


What are the advantages and disadvantages of using views in abap programming ?

656






What is repository info. Systems? : abap data dictionary

586


stock transfer from one plant to another plant ? i want the total description.

1578


What are the different attributes that can be assigned to a variant?

587


What are the other modules integrated with om? : sap abap hr

548


Kindly help me to Know the process of mapping in EDI from R/3 to a convertor(third party which translates IDoc flatfile to EDIFACT /XML / FTP /HTTP ) ?

1554


How to create a button in selection screen ?

1491


How can we access the correction and transport system?

552


What are the dynapro keywords?

673


HOW TO TRANSFER VENDOR MASTER DATA FROM LEGACY SYSTEM TO SAP SYSTEM THRU LSMW (IN LSMW, USING DIRECT INPUT PROGRAM:RFBIKR00)

3296


What is a subroutine?

596