AlgoViz

0/1 knapsack

medium 22 min

Pack items with weights and values into a bag of capacity W to get the most value, each item taken whole or not at all.

Explain your choices

Answer first. Then compare your reasoning.

12 questions 0 got it 0 to review12 not marked