lcpy gen -n <number>.
Matrix in Python with Tests
All 122 Matrix LeetCode problems with tested Python solutions.
Matrix holds 122 problems (17 Easy, 74 Medium, 31 Hard).
Generate any of them into the current directory with
lcpy gen -n <number>.
Last modified on September 7, 2026