Basic-Python-Programs icon indicating copy to clipboard operation
Basic-Python-Programs copied to clipboard

Cleaned up Recursive Knapsack

Open MarshedToMallow opened this issue 2 years ago • 0 comments

The program was somewhat messy and unclear so I went ahead and tried to make it more readable. I changed the 1-3 letter variables to proper names, added comments and a docstring, and broke up the function to make each individual step more clear.

MarshedToMallow avatar Nov 13 '23 02:11 MarshedToMallow