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

How do you sort an array by value?

635


What is meant by linked list?

662


What is the difference between file structure and storage structure?

718


Tell me do array subscripts always start with zero?

678


Write a program to insert an element and in the specific position in the array?

695


What are the tasks performed during inorder traversal?

727


What is difference between set and map?

686


What's the difference between an array and vector?

671


Define linked lists?

673


What is collection process?

718


Explain about map and their types?

790


Which are the sorted collections?

720


What is map entry?

664


What is the difference between data type and data structure?

647


What is basic data structure?

671