Skip to content

guess the next step: 0/1 knapsack

Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.

Step 13 of 17

012345ABC0000000000505000303050500030
Item C weighs 3, more than the room of 2, so it cannot go in. Keep 30 from the cell above.

Question 13 of 15

What happens next?

Your guess