Big O Notation Flashcards
1
Q
Big O notation
A
Used to compare the time complexity of different algorithms
(Describes how fast the runtime increases as the number of items to be processed increases )
2
Q
Tractable
A
Problems that can be solved in polynomial time or better
3
Q
Intractable
A
Problem unable to solved in polynomial time or better ( unsolvable in a reasonable amount of time )
4
Q
Heuristic
A
Shortcut that sacrifices accuracy and completeness but gives a solution in a reasonable time frame
5
Q
Big O efficiency
A
N! Intractable
2^n Intractable
n^2 Bubble sort. Tractable
N Linear search tractable
Log n Binary search tractable
N log n. Merge sort tractable