Unit 4: Repetition and Algorithms

Turn repeated work into reliable algorithms.

4 Tutorials

Tutorial 1: for, while, and Sentinel Loops

Trace loops, maintain invariants, and avoid off-by-one errors.

Start tutorial →

Tutorial 2: Counters and Accumulators

Coming next →

Tutorial 3: Nested Loops and Patterns

Coming next →

Tutorial 4: Searching and Complexity

Coming next →