guess the next step: Knapsack from the top down
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 2 of 4
Question 1 of 1
Step 2 of 4
Step 3 of 4
Question 1 of 1
Question 1 of 1
Right.
You guessed: Item A weighs more than the room of 2, so it cannot go in.
What the run did:
Item A weighs 3, more than the room of 2, so it cannot go in. Write 0, the best without it.
That is every question on this run: 1 of 1 right.
Question 1 of 1
Not this time.
You guessed: With room 2, taking item A is better, so take it.
What the run did:
Item A weighs 3, more than the room of 2, so it cannot go in. Write 0, the best without it.
That is every question on this run: 0 of 1 right.
Question 1 of 1
Not this time.
You guessed: With room 2, taking item A is no better, so leave it.
What the run did:
Item A weighs 3, more than the room of 2, so it cannot go in. Write 0, the best without it.
That is every question on this run: 0 of 1 right.