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

What do you mean by sorting?

796


What's difference between stack and queue?

917


What is a sorting algorithm in data structure?

877


Is array static or dynamic?

830


If I try to add enum constants to a treeset, what sorting order will it use?

1105


When should structures be passed by values or by reference?

982


Which sorting algorithm is the slowest?

818


What is dynamic array how it is created?

856


Define a relation?

895


What data type is enum?

869


which is the simplest file structure? (Sequential, indexed, random)

1207


Why null is allowed in hashmap?

832


Is arraylist a list?

850


Write a program to reverse a link list.

896


Describe tree database.

839