guess the next step: Hash table with chaining
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 12
Question 7 of 10
Step 7 of 12
Step 8 of 12
Step 9 of 12
Step 10 of 12
Step 11 of 12
Question 7 of 10
Question 7 of 10
Not this time.
You guessed: 43 belongs in bucket 1.
What the run did:
43 leaves 3 when divided by 5, so it belongs in bucket 3.
Question 7 of 10
Not this time.
You guessed: 43 belongs in bucket 2.
What the run did:
43 leaves 3 when divided by 5, so it belongs in bucket 3.
Question 7 of 10
Right.
You guessed: 43 belongs in bucket 3.
What the run did:
43 leaves 3 when divided by 5, so it belongs in bucket 3.
Question 8 of 10
Question 8 of 10
Right.
You guessed: 43 is not in the bucket yet, so put it in.
What the run did:
43 is not in bucket 3 yet, so put it in.
Question 8 of 10
Not this time.
You guessed: Another number is here, so walk past it.
What the run did:
43 is not in bucket 3 yet, so put it in.
Question 8 of 10
Not this time.
You guessed: 43 is already in the bucket, so turn it away.
What the run did:
43 is not in bucket 3 yet, so put it in.
Question 9 of 10
Question 9 of 10
Not this time.
You guessed: 54 belongs in bucket 2.
What the run did:
54 leaves 4 when divided by 5, so it belongs in bucket 4.
Question 9 of 10
Not this time.
You guessed: 54 belongs in bucket 3.
What the run did:
54 leaves 4 when divided by 5, so it belongs in bucket 4.
Question 9 of 10
Right.
You guessed: 54 belongs in bucket 4.
What the run did:
54 leaves 4 when divided by 5, so it belongs in bucket 4.
Question 10 of 10
Question 10 of 10
Right.
You guessed: 54 is not in the bucket yet, so put it in.
What the run did:
54 is not in bucket 4 yet, so put it in.
That is every question on this run: 1 of 10 right.
Question 10 of 10
Not this time.
You guessed: Another number is here, so walk past it.
What the run did:
54 is not in bucket 4 yet, so put it in.
That is every question on this run: 0 of 10 right.
Question 10 of 10
Not this time.
You guessed: 54 is already in the bucket, so turn it away.
What the run did:
54 is not in bucket 4 yet, so put it in.
That is every question on this run: 0 of 10 right.