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 is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary

1115


Explain what is the purpose of sap script?

1139


Can we define our own match code id's for sap matchcodes ?

1099


Differentiate between report and dialog program

1071


What is tcode se16?

988


What is a table attribute? : abap data dictionary

1040


Why grouping of fields is required? What is the max no of modification groups for each field?

1022


What are the functional areas?

1057


What is the abap program name to process the batch input session automatically? : abap bdc

1223


Sales Order Information Report that lists information like sales order no, Item no, material no, Quantity, Quantity unit, Net value, Currency,Sub Total, Grand Total. plz mention the detail coding Tahnks, Rahul

2176


​​What is amdp (abap managed data procedures)?​​

1193


How to eliminate duplicate entries in internal tables? : abap data dictionary

1294


How will you define posting procedures?

1375


Explain the data types of internal tables?

1109


How can an internal table with header line and one without header line be distinguished when passed to a subroutine? : abap modularization

1090