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

How can we remove loops in a linked list? What are the functions of fast and slow pointers?

1251


Where will be the free node available while inserting a new node in a linked list?

978


What is the difference between hashset and treeset?

1048


What are linked lists good for?

913


What is meant by a dynamic array?

998


Is array a collection?

969


Is array part of collection framework?

947


What is circular queue example?

994


What's difference between stack and queue?

1010


What is meant by balanced binary tree?

931


Why you need a data structure?

1152


Tell me the difference between the character array and a string.

1016


Why hashtable is faster than arraylist?

995


How can you represent a linked list node?

990


Can hashset contain null?

1092