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

Explain the Stack

958


What are threaded binary trees?

949


What is binary tree? Explain its uses.

881


What is example of data?

1086


How does hashset maintain order?

948


What is the Difference between treemap and hashmap?

987


what is traversal in linked lists?

1086


What are the advantages of data structure?

951


Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?

853


What does the term sorting refer to?

1060


Can we add heterogeneous elements into treemap?

948


How do you get placements?

845


What are different dynamic memory allocation technique in c.

928


What is a subtree?

963


Define a binary tree?

962