Knapsack from the top down
Packs a bag with the most value it can carry, each item taken whole or left behind, by asking for the best for the whole bag and letting that ask smaller questions. Each answer is kept in a memory, so only the cells the answer needs are ever worked out.
the most value: the items down the side, the room along the top
calls waiting
- times asked
- 0
- cells filled
- 0
step 1 of 1
Examples