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

binary search...............

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is hashset thread safe?

582


Which interfaces are implemented by linkedlist?

592


What is array simple?

578


What is bubble sort with example?

591


Which is better hashmap or hashtable?

567






What do you mean by priority queue?

576


What is two-dimensional array?

607


Why is hashset used?

576


How many passes does bubble sort need?

564


What does a treemap do?

535


Are linked lists useful?

586


What is quick sort?

731


What is the difference between an array and vector?

606


Why do we use linked lists?

562


How do you sort a map by key?

561