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 / binita

binary search is faster
as the root has the value greater then left subtree & less
then right subtree so sorting is easier

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the difference between persistent and ephemeral data structure?

1614


What is the difference between hashset and linkedhashset?

948


What is an externalizable interface?

927


Which is better stack or queue?

821


What is difference between list set and map?

856


Is array immutable?

860


What do you mean by breadth first search (bfs)?

941


How do you find a string is anagram or not?

865


State the merit of linked representation of binary trees?

886


What is binary tree give example?

869


Is bucket sort a comparison sort?

795


What are the advantages of data structure?

900


Can we store primitives in collections?

869


What is the best sorting technique?

888


What is time and space complexity of bubble sort?

763