Knapsack Problem · 0/1 Dynamic Programming
unseel.com · Take or leave · dp[i][w] · O(nW)
Capacity 10
Best value 0
State
DP cell (best value)
Item being decided
Take this item
In the optimal pack
Unseel.com · Knapsack Problem