Knapsack problems are perfect illustrations of the spirit of dynamic programming. Optimization problems => optimal substructures. And the constraints and the price table will usually give some overlapping recursive calls.
0/1 Knapsack (size)
doability
number of ways
subsets
0/1 Knapsack (size and value)
Multi-constraint Knapsack
Combination Knapsack
Infinite Knapsack
Wikipedia - Knapsack Problemarrow-up-right
Wikipedia - Continuous knapsack problemarrow-up-right
Backpack I to VIarrow-up-right by linspiration
9 lessons on packarrow-up-right by Tianyi Cui
Last updated 6 years ago