0/1 knapsack: capacity 5, items weight, value = 2, 3, 3, 4, 4, 5.… | Dynamic Programming question · AnyPrep