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 / ibna
binary search
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the height of a binary tree?
How helpful is abstract data type of data structures?
What is difference between list and array?
Give us a program to reverse a linked list.
What is a stable algorithm?
Tell me about the different sorting techniques.
Is list a data type?
Which sorting is used in collections sort?
How do you balance a tree?
Why do we need to use computers to help us sort lists?
Explain the terms base case, recursive case, binding time, run-time stack and tail recursion.
Can we change load factor of hashmap?
Explain the term base case?
What is a node in it?
How do you find the complexity of a selection sort?