Search Algorithms Flashcards

1
Q

Time complexity of hash table search

A

O(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Time complexity of binary search

A

O(log n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Time complexity for linear array search

A

O(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly