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 7 of 10

01234AB0000000000000
Item B weighs 6, more than the room of 2, so it cannot go in. Keep 0 from the cell above.

Question 7 of 8

What happens next?

Your guess