lcpy gen -n <number>.
Greedy in Python with Tests
All 138 Greedy LeetCode problems with tested Python solutions.
Greedy holds 138 problems (15 Easy, 96 Medium, 27 Hard).
Generate any of them into the current directory with
lcpy gen -n <number>.
Last modified on September 7, 2026