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
What is sorted list in data structure?
Which interface provides the capability to store objects using a key-value pair?
Can we add duplicate keys in a hashmap? What will happen if we attempt to add duplicate values?
what is Linked lists?
What is the complexity of arrays sort?
Why heap sort is not used?
What is difference between tree and forest?
How can you insert a node in a random location of the linked list?
When should structures be passed by values or by reference?
Explain the uses of b+ tree.
What is the default size of an arraylist?
How do you perform a merge sort?
How to reverse a singly linked list?
What is a pass in bubble sort?
What is the non linear data structure?