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 you define a set?

960


What data type is array?

950


Describe stack operation.

1010


List out the basic operations that can be performed on a stack?

926


Differentiate between list and map.

1072


Can we insert null in hashset?

1140


Do you know what is linear search?

943


Which collection is used for sort?

912


What is the best sorting technique?

981


What are different sorting algorithms?

983


What is the difference between 1d and 2d array?

1044


Why use a tuple instead of a list?

918


what is the difference between dynamic as well as non - dynamic data structures.

1007


What is time complexity of binary search?

949


What is time complexity of bubble sort?

929