guess the next step: Hash table with open addressing
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 27
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 27
Question 7 of 27
Not this time.
You guessed: Slot 3 is free, so put 17 there.
What the run did:
Slot 3 holds 3, not 17.
Question 7 of 27
Right.
You guessed: Slot 3 holds another number, so look at the next.
What the run did:
Slot 3 holds 3, not 17.
Question 7 of 27
Not this time.
You guessed: Slot 3 already holds 17, so turn it away.
What the run did:
Slot 3 holds 3, not 17.
Question 8 of 27
Question 8 of 27
Not this time.
You guessed: Slot 4 is free, so put 17 there.
What the run did:
Slot 4 holds 10, not 17.
Question 8 of 27
Right.
You guessed: Slot 4 holds another number, so look at the next.
What the run did:
Slot 4 holds 10, not 17.
Question 8 of 27
Not this time.
You guessed: Slot 4 already holds 17, so turn it away.
What the run did:
Slot 4 holds 10, not 17.
Question 9 of 27
Question 9 of 27
Right.
You guessed: Slot 5 is free, so put 17 there.
What the run did:
Slot 5 is free, so put 17 there.
Question 9 of 27
Not this time.
You guessed: Slot 5 holds another number, so look at the next.
What the run did:
Slot 5 is free, so put 17 there.
Question 9 of 27
Not this time.
You guessed: Slot 5 already holds 17, so turn it away.
What the run did:
Slot 5 is free, so put 17 there.
Question 10 of 27
Question 10 of 27
Not this time.
You guessed: The home of 24 is slot 1.
What the run did:
24 leaves 3 when divided by 7, so its home is slot 3.
Question 10 of 27
Not this time.
You guessed: The home of 24 is slot 2.
What the run did:
24 leaves 3 when divided by 7, so its home is slot 3.
Question 10 of 27
Right.
You guessed: The home of 24 is slot 3.
What the run did:
24 leaves 3 when divided by 7, so its home is slot 3.
Question 11 of 27
Question 11 of 27
Not this time.
You guessed: Slot 3 is free, so put 24 there.
What the run did:
Slot 3 holds 3, not 24.
Question 11 of 27
Right.
You guessed: Slot 3 holds another number, so look at the next.
What the run did:
Slot 3 holds 3, not 24.
Question 11 of 27
Not this time.
You guessed: Slot 3 already holds 24, so turn it away.
What the run did:
Slot 3 holds 3, not 24.
Question 12 of 27
Question 12 of 27
Not this time.
You guessed: Slot 4 is free, so put 24 there.
What the run did:
Slot 4 holds 10, not 24.
Question 12 of 27
Right.
You guessed: Slot 4 holds another number, so look at the next.
What the run did:
Slot 4 holds 10, not 24.
Question 12 of 27
Not this time.
You guessed: Slot 4 already holds 24, so turn it away.
What the run did:
Slot 4 holds 10, not 24.