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 / uma sankar reddy.p

Binarysearch is faster than sequential search

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can arraylist have null values?

668


How do you sort elements in an arraylist?

686


Write an algorithm to find middle element in the linked list.

717


write a program to accept name & sort them?

714


Define biconnectivity?

712


Define outdegree of a graph?

749


What is rule regarding overriding equals and hascode method?

710


How does a dynamic array work?

667


What is collection process?

753


What is the use of treemap?

743


What are different dynamic memory allocation technique in c.

735


Evaluate the following prefix expression " ++ 26 + - 1324" (Similar types can be asked)

819


what is traversal in linked lists?

831


What is array indexing?

701


What do you mean by external sorting?

672