guess the next step: Hash table with double hashing
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 19 of 36
Question 19 of 33
Step 19 of 36
Step 20 of 36
Step 21 of 36
Step 22 of 36
Step 23 of 36
Step 24 of 36
Step 25 of 36
Question 19 of 33
Question 19 of 33
Right.
You guessed: The home of 7 is slot 0.
What the run did:
7 leaves 0 when divided by 7, so its home is slot 0.
Question 19 of 33
Not this time.
You guessed: The home of 7 is slot 1.
What the run did:
7 leaves 0 when divided by 7, so its home is slot 0.
Question 19 of 33
Not this time.
You guessed: The home of 7 is slot 2.
What the run did:
7 leaves 0 when divided by 7, so its home is slot 0.
Question 20 of 33
Question 20 of 33
Right.
You guessed: The step of 7 is 3.
What the run did:
7 leaves 2 when divided by 5, so its step is 3: each move goes 3 slots on, round to the start.
Question 20 of 33
Not this time.
You guessed: The step of 7 is 4.
What the run did:
7 leaves 2 when divided by 5, so its step is 3: each move goes 3 slots on, round to the start.
Question 20 of 33
Not this time.
You guessed: The step of 7 is 5.
What the run did:
7 leaves 2 when divided by 5, so its step is 3: each move goes 3 slots on, round to the start.
Question 21 of 33
Question 21 of 33
Right.
You guessed: Slot 0 is free, so put 7 there.
What the run did:
Slot 0 is free, so put 7 there.
Question 21 of 33
Not this time.
You guessed: Slot 0 holds another number, so step on.
What the run did:
Slot 0 is free, so put 7 there.
Question 21 of 33
Not this time.
You guessed: Slot 0 already holds 7, so turn it away.
What the run did:
Slot 0 is free, so put 7 there.
Question 22 of 33
Question 22 of 33
Not this time.
You guessed: The home of 8 is slot 0.
What the run did:
8 leaves 1 when divided by 7, so its home is slot 1.
Question 22 of 33
Right.
You guessed: The home of 8 is slot 1.
What the run did:
8 leaves 1 when divided by 7, so its home is slot 1.
Question 22 of 33
Not this time.
You guessed: The home of 8 is slot 2.
What the run did:
8 leaves 1 when divided by 7, so its home is slot 1.
Question 23 of 33
Question 23 of 33
Not this time.
You guessed: The step of 8 is 3.
What the run did:
8 leaves 3 when divided by 5, so its step is 4: each move goes 4 slots on, round to the start.
Question 23 of 33
Right.
You guessed: The step of 8 is 4.
What the run did:
8 leaves 3 when divided by 5, so its step is 4: each move goes 4 slots on, round to the start.
Question 23 of 33
Not this time.
You guessed: The step of 8 is 5.
What the run did:
8 leaves 3 when divided by 5, so its step is 4: each move goes 4 slots on, round to the start.
Question 24 of 33
Question 24 of 33
Not this time.
You guessed: Slot 1 is free, so put 8 there.
What the run did:
Slot 1 holds 1, not 8.
Question 24 of 33
Right.
You guessed: Slot 1 holds another number, so step on.
What the run did:
Slot 1 holds 1, not 8.
Question 24 of 33
Not this time.
You guessed: Slot 1 already holds 8, so turn it away.
What the run did:
Slot 1 holds 1, not 8.