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 / angu

Binary Search is efficent and faster because in Binary
search we search in systematic way which helps to fetch the
data easy. where as in Sequential search we have to come
across tll the nodes to get the desired data.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sort is best for linked list?

900


What are the tasks performed during preorder traversal?

1231


Can sets contain duplicates?

878


Differentiate between arraylist and linkedlist.

1182


Explain recursive function & what is the data structures used to perform recursion?

1096


What is worst case complexity algorithm?

959


Write the importance of hashing?

1073


Write the postfix form of the expression: (a + b) * (c - d)

1087


Are sets sorted?

952


Explain binary search tree?

995


What is bubble sort and quick sort?

994


Can we put null key in hashmap?

957


How does arraylist size work?

932


what is Linked lists?

1025


What is difference between list set and map?

938