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 29
Question 7 of 26
Step 7 of 29
Step 8 of 29
Step 9 of 29
Step 10 of 29
Step 11 of 29
Step 12 of 29
Step 13 of 29
Question 7 of 26
Question 7 of 26
Not this time.
You guessed: 23 is not in the bucket yet, so put it in.
What the run did:
3 is not 23.
Question 7 of 26
Right.
You guessed: Another number is here, so walk past it.
What the run did:
3 is not 23.
Question 7 of 26
Not this time.
You guessed: 23 is already in the bucket, so turn it away.
What the run did:
3 is not 23.
Question 8 of 26
Question 8 of 26
Not this time.
You guessed: 23 is not in the bucket yet, so put it in.
What the run did:
13 is not 23.
Question 8 of 26
Right.
You guessed: Another number is here, so walk past it.
What the run did:
13 is not 23.
Question 8 of 26
Not this time.
You guessed: 23 is already in the bucket, so turn it away.
What the run did:
13 is not 23.
Question 9 of 26
Question 9 of 26
Right.
You guessed: 23 is not in the bucket yet, so put it in.
What the run did:
23 is not in bucket 3 yet, so put it in.
Question 9 of 26
Not this time.
You guessed: Another number is here, so walk past it.
What the run did:
23 is not in bucket 3 yet, so put it in.
Question 9 of 26
Not this time.
You guessed: 23 is already in the bucket, so turn it away.
What the run did:
23 is not in bucket 3 yet, so put it in.
Question 10 of 26
Question 10 of 26
Not this time.
You guessed: 33 belongs in bucket 2.
What the run did:
33 leaves 3 when divided by 5, so it belongs in bucket 3.
Question 10 of 26
Right.
You guessed: 33 belongs in bucket 3.
What the run did:
33 leaves 3 when divided by 5, so it belongs in bucket 3.
Question 10 of 26
Not this time.
You guessed: 33 belongs in bucket 4.
What the run did:
33 leaves 3 when divided by 5, so it belongs in bucket 3.
Question 11 of 26
Question 11 of 26
Not this time.
You guessed: 33 is not in the bucket yet, so put it in.
What the run did:
3 is not 33.
Question 11 of 26
Right.
You guessed: Another number is here, so walk past it.
What the run did:
3 is not 33.
Question 11 of 26
Not this time.
You guessed: 33 is already in the bucket, so turn it away.
What the run did:
3 is not 33.
Question 12 of 26
Question 12 of 26
Not this time.
You guessed: 33 is not in the bucket yet, so put it in.
What the run did:
13 is not 33.
Question 12 of 26
Right.
You guessed: Another number is here, so walk past it.
What the run did:
13 is not 33.
Question 12 of 26
Not this time.
You guessed: 33 is already in the bucket, so turn it away.
What the run did:
13 is not 33.