Skip to content

Cleaned up Recursive Knapsack - #440

Open
MarshedToMallow wants to merge 2 commits into
souravjain540:mainfrom
MarshedToMallow:main
Open

Cleaned up Recursive Knapsack#440
MarshedToMallow wants to merge 2 commits into
souravjain540:mainfrom
MarshedToMallow:main

Conversation

@MarshedToMallow

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Author

Any review on this would be much appreciated. Been in limbo for nearly 2 years now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant