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 / priyank
Binary search tree..:)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?
Explain linear linked implementation of Stack and Queue?
How do you define a set?
What are the advantages and disadvantages of linked list?
where do you use double linked list?
What is scalar data type?
Explain different methods in which you can traverse a tree?
What is difference between data type and data structure?
What is data structure geeksforgeeks?
Define dynamic data structures?
What is comparator interface used for?
Which collection is fail safe?
What is merge sort and how it works?
What is sorting in math?
What is sorting an array?