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 external sorting?

654


Is arraylist a class?

654


Is a list an array?

623


Is bucket sort stable?

693


What is the difference between ienumerable and list?

650


How do you reference all the elements in a one-dimension array?

810


What is the space complexity of selection sort?

734


How do you make a bubble chart with 3 variables?

681


How to find 3rd element from end in a linked list in one pass?

656


Explain what are the methods available in storing sequential files ?

708


Why is quicksort not stable?

643


What is a map programming?

682


What are the properties of an algorithm?

735


Is arraylist heterogeneous?

666


Define linear data structures?

774