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 13 of 36
Question 13 of 33
Step 13 of 36
Step 14 of 36
Step 15 of 36
Step 16 of 36
Step 17 of 36
Step 18 of 36
Step 19 of 36
Question 13 of 33
Question 13 of 33
Not this time.
You guessed: The home of 5 is slot 4.
What the run did:
5 leaves 5 when divided by 7, so its home is slot 5.
Question 13 of 33
Right.
You guessed: The home of 5 is slot 5.
What the run did:
5 leaves 5 when divided by 7, so its home is slot 5.
Question 13 of 33
Not this time.
You guessed: The home of 5 is slot 6.
What the run did:
5 leaves 5 when divided by 7, so its home is slot 5.
Question 14 of 33
Question 14 of 33
Right.
You guessed: The step of 5 is 1.
What the run did:
5 leaves 0 when divided by 5, so its step is 1: each move goes one slot on, round to the start.
Question 14 of 33
Not this time.
You guessed: The step of 5 is 2.
What the run did:
5 leaves 0 when divided by 5, so its step is 1: each move goes one slot on, round to the start.
Question 14 of 33
Not this time.
You guessed: The step of 5 is 3.
What the run did:
5 leaves 0 when divided by 5, so its step is 1: each move goes one slot on, round to the start.
Question 15 of 33
Question 15 of 33
Right.
You guessed: Slot 5 is free, so put 5 there.
What the run did:
Slot 5 is free, so put 5 there.
Question 15 of 33
Not this time.
You guessed: Slot 5 holds another number, so step on.
What the run did:
Slot 5 is free, so put 5 there.
Question 15 of 33
Not this time.
You guessed: Slot 5 already holds 5, so turn it away.
What the run did:
Slot 5 is free, so put 5 there.
Question 16 of 33
Question 16 of 33
Not this time.
You guessed: The home of 6 is slot 4.
What the run did:
6 leaves 6 when divided by 7, so its home is slot 6.
Question 16 of 33
Not this time.
You guessed: The home of 6 is slot 5.
What the run did:
6 leaves 6 when divided by 7, so its home is slot 6.
Question 16 of 33
Right.
You guessed: The home of 6 is slot 6.
What the run did:
6 leaves 6 when divided by 7, so its home is slot 6.
Question 17 of 33
Question 17 of 33
Not this time.
You guessed: The step of 6 is 1.
What the run did:
6 leaves 1 when divided by 5, so its step is 2: each move goes 2 slots on, round to the start.
Question 17 of 33
Right.
You guessed: The step of 6 is 2.
What the run did:
6 leaves 1 when divided by 5, so its step is 2: each move goes 2 slots on, round to the start.
Question 17 of 33
Not this time.
You guessed: The step of 6 is 3.
What the run did:
6 leaves 1 when divided by 5, so its step is 2: each move goes 2 slots on, round to the start.
Question 18 of 33
Question 18 of 33
Right.
You guessed: Slot 6 is free, so put 6 there.
What the run did:
Slot 6 is free, so put 6 there.
Question 18 of 33
Not this time.
You guessed: Slot 6 holds another number, so step on.
What the run did:
Slot 6 is free, so put 6 there.
Question 18 of 33
Not this time.
You guessed: Slot 6 already holds 6, so turn it away.
What the run did:
Slot 6 is free, so put 6 there.