LESSON 10 / 17

O(1) — Constant Time

O(1) means the work stays the same no matter how big the input is: reading an item by index, looking up a map key, a formula.

🎓Hardlevel
⏱️10 minto finish
✏️1activities

📂 Correctness, Complexity & Quality🏷️ Complexity

🔒

You’ve finished your free lessons! 🎉

Create a free account to unlock every lesson, save your progress, keep your streak and get personal review suggestions. It takes 20 seconds.