Time complexity compared
easy 18 minThe seven common time complexities in one place: 1 < log n < n < n log n < n² < 2ⁿ < n!.
Chapter mnemonic
Common growth rates in order
Tap, halve, walk, split and sweep, pair, pick subsets, permute.
Which grows faster as n increases: trying all pairs or choosing every subset?
Subsets. Quadratic pair growth is eventually overtaken by exponential subset growth.