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
Can we declare array size as a negative number?
What do you mean by balance factor of a node in avl tree?
Which sort is stable?
What is the basic of data structure?
Define the queue data structure.
What are the categories of avl rotations?
What do you mean by garbage collection?
List the limitations of linear probing?
What are threaded binary trees?
How can someone display singly linked list from first to last?
Is quicksort a stable algorithm?
Which language is best for learning data structures and algorithms?
Does hashmap sort automatically?
Which data structures are applied when dealing with a recursive function?
What is difference between list and array list?