Caffeinated Coder
Book an appointment
Lesson 17 · Algorithms

How fast is fast? Big O

Timing code with a stopwatch tells you about one computer on one day. Big O asks a better question: how does the number of steps grow as the input grows? Watch five growth rates race as n steps up from 10 to a million, from the O(1) bar that never moves to the O(n²) bar that reaches a trillion.

11 min11 steps5 questionsIntermediate
Fig 17 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.