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

binarysearch is paster then sequentiolsearch

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the complexity of arraylist?

488


What is the difference between collections class vs collections interface?

537


Write the stack overflow condition.

594


How do you represent a linked list?

509


What do you know about different sorting algorithms?

533






What's the difference between an array and vector?

506


What is list data structure?

516


Give a basic algorithm for searching a binary search tree?

506


List out a few of the applications that make use of Multilinked Structures?

732


What is heap with example?

523


Explain what is the type of the algorithm used in solving the 8 queens problem?

479


Does arraylist maintain order?

515


What is circular queue example?

478


What is data structures in computer science?

491


What are different dynamic memory allocation technique in c.

534