Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add a naive recursive implementation of 0-1 Knapsack Problem #2743
Conversation
Did you take a look at |
@poyea yes I did, also did this during a job interview, but I did not want to "overdo" the solution in the first place ;-) |
I mean, this should go into |
@poyea Sorry but no. This is a simple and recursive solution, the dynamic one looks different. |
Yeah. It seems that a new folder might be the right place. |
Would you mind adding a README.md in the folder? Just add something like this: https://en.wikipedia.org/wiki/Knapsack_problem Example: https://github.com/TheAlgorithms/Python/tree/master/linear_algebra |
@poyea added a Readme, also tests :-) |
Travis tests have failedHey @tbsschroeder, TravisBuddy Request Identifier: 12034a30-0f83-11eb-8acb-27a1e4e1eb88 |
Travis tests have failedHey @tbsschroeder, TravisBuddy Request Identifier: f0eaee00-0f84-11eb-8acb-27a1e4e1eb88 |
@poyea everything should be complete right now. |
Thank you for your pull request! |
Describe your change:
Add a naive recursive implementation of 0-1 Knapsack Problem
Checklist:
Fixes: #{$ISSUE_NO}
.