2026-spring algorithms/lessons/05-binary-search

README.md

Lesson 5: Binary search

We look at binary search the way working developers use it, with examples you can change and run straight away.

Full lesson: https://glibcode.net/courses/algorithms/lessons/5

Files

  • binary_search.py: binary search, iterative

Run it

python3 binary_search.py

Exercises

See exercises.md. Ask in the forum once you've tried.