Knapsack Problem: Dynamic Programming

Show Work?

output