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 perfectly.
Items: [value/weight] [60/10] -> [100/20] -> [120/30] -> null Knapsack capacity: 50 units Goal: maximize total value inside knapsack
