I am trying to implement a version of the "knapsack" algorithm for one of my assignments but I am stuck when it comes to implementation.
Conceptually I understa