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 / suresh
obviously binary search
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What do you mean by separate chaining?
What is stack explain with diagram?
What is the difference between file structure and storage structure?
Which language is best for learning data structures and algorithms?
Explain singly linked list in short.
What is difference between data type and variable?
What is a map in programming?
Define a binary search tree?
State the merits of linear representation of binary trees?
Define leaves?
Differentiate between hashmap and treemap.
Is heap sort stable?
In rdbms, explain what is the efficient data structure used in the internal storage representation?
Is it possible to insert different type of elements in a stack? How?
Is hashmap synchronized?