Algorithms Flashcards
1
Q
Is a problem with time complexity O(n log n ) tractable?
A
Yes, a tractable problem has polynomial time or better
2
Q
What time complexity is bubble sort?
A
O(log n)
3
Q
What time complexity is linear search?
A
O(n)
4
Q
What time complexity is merge sort?
A
O(n log n)