Search Algorithms Flashcards
1
Q
Time complexity of hash table search
A
O(1)
2
Q
Time complexity of binary search
A
O(log n)
3
Q
Time complexity for linear array search
A
O(n)
Time complexity of hash table search
O(1)
Time complexity of binary search
O(log n)
Time complexity for linear array search
O(n)