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 / rohini c

Binnary search tree complexity is log n where as linear search terr complexity is 'n'so it is quite clear from complexity that Binnary tree is faster than sequential search or linear search........complexity means rate of execution time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between rb tree and avl tree?

924


What are doubly linked lists?

1028


What member function places a new node at the end of the linked list?

1067


Define Data Structures?

980


What is data structure and why we need it?

917


What is difference between array and arraylist? When will you use array over arraylist?

988


How do you get placements?

856


Which one is the simplest sorting in data structure?

1064


Are duplicates allowed in list?

927


How does a treemap sort?

841


What is heap with example?

941


Is data structures and algorithms important?

939


State the different ways of representing expressions?

1212


What are the five examples of data?

980


What is insertion sort technique?

918