Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / amalberba

The following table shows how the maximum number of
comparisons increases for binary search and linear search.

Array Size Worst Case Comparisons
Linear Search Binary Search
100,000 100,000 16
200,000 200,000 17
400,000 400,000 18
800,000 800,000 19
1,600,000 1,600,000 20

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are interface/conversion programs in SAP?

1091


Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...

1399


When you prefer lsmw?

974


What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr

1064


What are the different database integrities?

987


send coding to write a program to create customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA2/BAPI_QUOTATION_CREATEFR OMDATA'

2783


What is the difference between data elements and domains? : abap data dictionary

1091


Explain pai and pbo.

1162


Explain the difference between get and get late?

1021


Can we use write statements in screen fields?if not how is data transferred from field data to screen fields?

962


Rp_provide_from_last contains how many parameters ? : abap hr

1439


What are the payroll related infotypes? : abap hr

1029


What is the difference b/t Session method and call transaction method ??

6085


Why we are using Macros instead of Function Modules

2077


after creating lock object if does n't access record by second user what should we do?

1939