Brainlag
  1. Python
  2. Problem solving
42/42 lessons

Checkpoint: problem solving

Checkpoint40 min5 problemsPremium

Five problems on your own: count the work, search sorted data, recurse through nested lists, merge sorted rankings and replace a slow search with a lookup.

The skill
Pick the right tool for a problem: a lookup, a binary search, recursion or a merge, and prove it works.
You make
Five small tools for games and music data, written without scaffolding.

Premium lesson

£7.99 a month or £59 a year. Cancel any time.

Builds on 41 Fast lookups and memory. Free to try: Python Foundations and the playground.

Step 1 of 6
exercise_1.py

You've reached the good stuff.

5 exercises in this lesson, checked as you type. Premium opens every lesson after Foundations, in all four courses.

Python 3.13