Mental Model
We want to fill a bag with items to get the most value, and we can take parts of items if needed.
Analogy: Imagine you have a backpack and different jars of honey. Each jar has a weight and sweetness. You want to fill your backpack with the sweetest honey possible, even if you have to take only part of a jar.
Items: [weight: 10, value: 60] -> [weight: 20, value: 100] -> [weight: 30, value: 120] Knapsack capacity: 50 Goal: Maximize value by taking whole or part of items.
