Big O Battle
Match code snippets and scenarios to their complexity classes across five escalating rounds, with full explanations on every miss.
How to play
- Each round shows 4 questions: pick the complexity class for each snippet or scenario.
- Wrong answers reveal a detailed explanation, read it, it's the whole point.
- Score 100 per correct answer; streaks of 3+ earn bonus points.
- Rounds get harder: from O(1) vs O(n) up to amortized and best/average/worst distinctions.
Big O Battle
5 rounds × 4 questions, escalating from O(1) basics to amortized analysis. 100 points per correct answer, +25 streak bonus from 3 in a row. Every answer, right or wrong, comes with the reasoning.
Estimated play time: 5–7 min. Scores feed your local progress, stored only in this browser.