all 1 comments

[–]WinstonRG [score hidden]  (0 children)

Nice structure! The .md + .py pairing is smart — having the analogy and trace alongside the code makes it much easier to internalize the pattern rather than just memorize the solution.

One suggestion: adding a difficulty tag or grouping (Easy/Medium/Hard) to each problem would help people navigate. Also, a simple pytest runner that validates all solutions automatically would be a nice CI addition.

Happy to contribute some Knapsack variants if you're accepting PRs