Guided lesson

Big O Notation

Foundations

Big O Notation

Start here

Mental model

  • O(1), O(log n), O(n), O(n log n), O(n^2) are the beginner essentials.

Operations

count loop growth

Cost shape

A language for describing complexity

Watch out

Calling every loop O(n) without checking nesting.

Related algorithms

Merge SortBinary SearchBubble Sort
Guided progression
10% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart