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

obviously binary search

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a linear data structure.

1041


Tell me about circular linked list?

923


How does the bubble sort work?

911


Define quadratic probing?

1017


What are sorting algorithms used for?

965


How many pointers are necessary to implement a simple linked list?

1110


What is ds tree?

895


Define a tree?

977


What are the disadvantages of linear list?

906


How does a binary search work?

851


Will this code give error if I try to add two heterogeneous elements in the arraylist? And why?

945


Can we remove element from arraylist while iterating?

959


Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?

887


Why linked list is required?

839


Is hashmap get thread safe?

856