LESSON 02 / 17

Preconditions

A precondition is what must be true before an algorithm runs — like “the list is sorted” for binary search. Write them down and check them.

🎓Hardlevel
⏱️12 minto finish
✏️1activities

📂 Correctness, Complexity & Quality🏷️ Complexity