| Class | Name | Example | n=1 000 000 |
|---|---|---|---|
| O(1) | Constant | Array index, hash map lookup | 1 op |
| O(log n) | Logarithmic | Binary search, balanced BST | ~20 ops |
| O(n) | Linear | Linear scan, BFS/DFS | 1 M ops |
| O(n log n) | Linearithmic | Merge sort, heap sort | ~20 M ops |
| O(n²) | Quadratic | Bubble sort, naive string match | 10¹² ops |
| O(2⊃n) | Exponential | Naive subset enumeration | vastly infeasible |