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 6 of 47
Question 1 of 15
Step 6 of 47
Step 7 of 47
Step 10 of 47
Step 11 of 47
Step 12 of 47
Step 16 of 47
Step 17 of 47
Step 20 of 47
Step 21 of 47
Step 22 of 47
Question 1 of 15
Question 1 of 15
Not this time.
You guessed: Item A weighs more than the room of 8, so it cannot go in.
What the run did:
With room 8, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 1 of 15
Right.
You guessed: With room 8, taking item A is better, so take it.
What the run did:
With room 8, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 1 of 15
Not this time.
You guessed: With room 8, taking item A is no better, so leave it.
What the run did:
With room 8, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 2 of 15
Question 2 of 15
Not this time.
You guessed: Item A weighs more than the room of 7, so it cannot go in.
What the run did:
With room 7, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 2 of 15
Right.
You guessed: With room 7, taking item A is better, so take it.
What the run did:
With room 7, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 2 of 15
Not this time.
You guessed: With room 7, taking item A is no better, so leave it.
What the run did:
With room 7, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 3 of 15
Question 3 of 15
Not this time.
You guessed: Item B weighs more than the room of 8, so it cannot go in.
What the run did:
With room 8, leaving B out keeps 20. Taking it is worth 10, plus 20 for the room it leaves: 30. Taking it is better, so write 30.
Question 3 of 15
Right.
You guessed: With room 8, taking item B is better, so take it.
What the run did:
With room 8, leaving B out keeps 20. Taking it is worth 10, plus 20 for the room it leaves: 30. Taking it is better, so write 30.
Question 3 of 15
Not this time.
You guessed: With room 8, taking item B is no better, so leave it.
What the run did:
With room 8, leaving B out keeps 20. Taking it is worth 10, plus 20 for the room it leaves: 30. Taking it is better, so write 30.
Question 4 of 15
Question 4 of 15
Not this time.
You guessed: Item A weighs more than the room of 6, so it cannot go in.
What the run did:
With room 6, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 4 of 15
Right.
You guessed: With room 6, taking item A is better, so take it.
What the run did:
With room 6, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 4 of 15
Not this time.
You guessed: With room 6, taking item A is no better, so leave it.
What the run did:
With room 6, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 5 of 15
Question 5 of 15
Not this time.
You guessed: Item A weighs more than the room of 5, so it cannot go in.
What the run did:
With room 5, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 5 of 15
Right.
You guessed: With room 5, taking item A is better, so take it.
What the run did:
With room 5, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 5 of 15
Not this time.
You guessed: With room 5, taking item A is no better, so leave it.
What the run did:
With room 5, leaving A out keeps 0. Taking it is worth 20, plus 0 for the room it leaves: 20. Taking it is better, so write 20.
Question 6 of 15
Question 6 of 15
Not this time.
You guessed: Item B weighs more than the room of 6, so it cannot go in.
What the run did:
With room 6, leaving B out keeps 20. Taking it is worth 10, plus 20 for the room it leaves: 30. Taking it is better, so write 30.
Question 6 of 15
Right.
You guessed: With room 6, taking item B is better, so take it.
What the run did:
With room 6, leaving B out keeps 20. Taking it is worth 10, plus 20 for the room it leaves: 30. Taking it is better, so write 30.
Question 6 of 15
Not this time.
You guessed: With room 6, taking item B is no better, so leave it.
What the run did:
With room 6, leaving B out keeps 20. Taking it is worth 10, plus 20 for the room it leaves: 30. Taking it is better, so write 30.