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

binary search is faster than linear search.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is declaring array?

550


What is perfect binary tree?

549


Explain how is linked list implemented?

609


How do you declare An array of three pointers to chars

581


Explain linear linked implementation of Stack and Queue?

610






What is a binary search tree? Explain with example?

598


Is hashmap get thread safe?

549


Can you use Bubble Sort To sort the number of elements.

582


Does stringutils isempty check for null?

503


How many null values are allowed in a set?

547


Why do we study data structures?

591


What is a data structure node class?

575


Define linked list data structure.

664


Why you need a data structure?

697


When will we get ArrayStoreException?

852