lcpy gen -n <number>.
Breadth-First Search in Python with Tests
All 158 Breadth-First Search LeetCode problems with tested Python solutions.
Breadth-First Search holds 158 problems (17 Easy, 103 Medium, 38 Hard).
Generate any of them into the current directory with
lcpy gen -n <number>.
Last modified on September 7, 2026