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 / bharathi
Binary search
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How to show internal storage representation of data structure in RDBM?
How would you reverse characters of an array without using indexing in the array.
Define a Deque?
How to find if linked list has loop?
what is the difference between dynamic as well as non - dynamic data structures.
Why is hashmap used?
What is a pass in bubble sort?
Define leaves?
Model a data structure for a DFA that takes an event as parameter and performs a desired action.
Is data structures and algorithms important?
Is hashmap fail safe?
Explain different methods in which you can traverse a tree?
Explain pre-order and in-order tree traversal.
What are the different types of sorting? Explain the difference between them.
What does map stand for?