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 do I use quick sort?

804


How do you implement a stack?

847


What is difference between array and arraylist?

928


What is stack in data structure with the example?

772


Why is sorting necessary?

808


What does arrays tostring do?

811


What is the difference between array and stack in data structures?

985


What is dynamic array how it is created?

854


What do you mean by structure property in a heap?

1021


Why do we need linked list?

781


Which sorting is best?

835


Which is better merge sort or quick sort?

806


Does linkedhashset allow null values?

931


Is set sorted?

900


What are priority queues?

906