Big-O growth
Six common growth rates drawn side by side; scrub n and watch them pull apart.
Largest n20
With one item, every algorithm does about one step. The differences only show as n grows.
Steps at n = 1: O(1) 1, O(log n) 0, O(n) 1, O(n log n) 0, O(n²) 1, O(2ⁿ) 2.
- compare
- swap or write
- settled
Space play · ← → step · Home End jump · drag the strip to scrub