Introduction
The Knapsack problem asks: given items, each with a weight and value, what's the maximum value you can carry in a bag with capacity ?
The "" means you either take an item completely or leave it behind. No splitting allowed. You can't take half a laptop.
Example: You have items:
- Item A: weight , value