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
Questions related to arrays, such as given a 2 integer array, find the common elements.
What is the easiest sorting method to use in data structures?
What is a matrix? Explain its uses with an example
What does isempty() member method determines?
what is the difference between singly and doubly linked lists?
What is stack in data structure with the example?
Can we put null value in hashmap?
Name few concurrent collection classes?
What is the minimum number of queues that can be used to implement a priority queue?
What is the use of space complexity and time complexity?
Define left-in threaded tree?
How would you reverse the characters of an array?
Explain what is a spanning tree?
what are the applications of Linked Lists?
Explain what is the data structures used to perform recursion?