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

What do you mean by recursive definition?

925


What is collections singletonmap?

852


What are types of Collision Resolution Techniques and the methods used in each of the types?

1080


Give a real time example of stack

947


What is stack explain with diagram?

902


Is hashmap keyset ordered?

1005


What is indexing an array?

1070


Is array a linked list?

901


What is heap tree in data structure?

923


What is data structure in programming language?

930


What is stack push?

877


Why is sorting necessary?

877


Define outdegree of a graph?

963


Define collision in hashing?

914


What data structure does a binary tree degenerate?

893