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

binary search

Is This Answer Correct ?    36 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you find the index of an element in an arraylist?

620


What is ds tree?

694


How many passes does bubble sort need?

662


Define indegree of a graph?

863


Is hashmap faster than arraylist?

640


What is doubly linked list?

698


Define graph?

892


What is stack in geography?

625


Is quicksort a stable sorting algorithm?

730


What is the use of treemap?

705


Why is quicksort better than mergesort?

680


How can we reverse the order in the treemap?

652


What is red black tree in data structure?

670


What is binary tree example?

745


What is a hashers run?

657