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 filling a jar with different types of honey jars. You want the sweetest honey first, and if the jar is almost full, you take only a part of the last honey jar to fill it exactly.
Items: [value/weight ratio] [Item1: 60/10=6] -> [Item2: 100/20=5] -> [Item3: 120/30=4] Knapsack capacity: 50 Knapsack: empty ↑