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