lcpy gen -n <number>.
Shortest Path in Python with Tests
All 14 Shortest Path LeetCode problems with tested Python solutions.
Shortest Path holds 14 problems (9 Medium, 5 Hard).
Generate any of them into the current directory with
lcpy gen -n <number>.
Last modified on September 7, 2026