lcpy gen -n <number>.
Binary Tree in Python with Tests
All 123 Binary Tree LeetCode problems with tested Python solutions.
Binary Tree holds 123 problems (32 Easy, 84 Medium, 7 Hard).
Generate any of them into the current directory with
lcpy gen -n <number>.
Last modified on September 7, 2026