thuva4 / Algorithms

Collection of algorithms in multiple programming languages.
https://thuva4.github.io/Algorithms/
Apache License 2.0
487 stars 543 forks source link

Added Knapsack in C++ #808

Closed Cc618 closed 4 years ago

Cc618 commented 4 years ago

Hi !

I have implemented the knapsack problem in C++ The code contains a dynamic programming and recursive approach, I have also included a description with an example