Algorithm modules ↔ pytest doctest runner: Edge‑case coverage question
Goal: verify that each algorithm module’s doctest examples provide enough regression safety to catch common edge cases while keeping the code readable for learners. Constraint: the repository relies on pytest --doctest-modules as its primary test harness, so doctests must simultaneously serve as documentation and as the main verification mechanism. Contribut