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...

Which one is faster?
A binary search of an orderd set of elements in an array
or
a sequential search of the elements.

Answer Posted / naresh

binary search..if the elements are not in a sorted order
then sequential search or linear search would be better.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me why might quick sort might be better than merge sort?

924


What is heap tree explain with example?

976


Which interfaces are implemented by enumset?

893


What are the basic data structures?

995


What are the advantages of linked list over an array?

945


Differentiate null and void?

877


Define shortest path?

1053


State the properties of a binary tree?

1105


What is raid (redundant array of inexpensive disks)?

991


What are the applications of priority queues?

1030


What is the difference between dictionary and hashtable?

1041


What is data structure and its types?

920


What are the major data structures used in the hierarchical data model?

1025


What is binary search in data structure?

908


What are common data structures?

1024