Math · Intermediate · Lesson 3 of 7
Big-O Notation
Comparing growth rates
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Big-O describes how running time grows: .
- For , 10× the data means about 100× the time.
- Greedy algorithms are fast, but don’t always find the best answer.
Steps
- How work grows
- Ten times the data
- Constants matter… for a while
- Exponential time
- Sorting a million
- Greedy change