Mental Model
We want to pick items with values and weights to maximize value without exceeding weight limit. Each item can be chosen only once.
Analogy: Imagine packing a backpack for a trip. You have limited space and many items. You want to pack the most valuable things without overloading the bag.
Knapsack capacity: 5 Items: [Weight: 2, Value: 3] [Weight: 3, Value: 4] [Weight: 4, Value: 5] Backpack capacity -> |-----| Items to choose -> [ ] [ ] [ ]
