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 32 of 36
Question 31 of 33
Step 32 of 36
Step 33 of 36
Step 34 of 36
Step 35 of 36
Question 31 of 33
Question 31 of 33
Right.
You guessed: The home of 3 is slot 3.
What the run did:
3 leaves 3 when divided by 7, so its home is slot 3.
Question 31 of 33
Not this time.
You guessed: The home of 3 is slot 4.
What the run did:
3 leaves 3 when divided by 7, so its home is slot 3.
Question 31 of 33
Not this time.
You guessed: The home of 3 is slot 5.
What the run did:
3 leaves 3 when divided by 7, so its home is slot 3.
Question 32 of 33
Question 32 of 33
Not this time.
You guessed: The step of 3 is 3.
What the run did:
3 leaves 3 when divided by 5, so its step is 4: each move goes 4 slots on, round to the start.
Question 32 of 33
Right.
You guessed: The step of 3 is 4.
What the run did:
3 leaves 3 when divided by 5, so its step is 4: each move goes 4 slots on, round to the start.
Question 32 of 33
Not this time.
You guessed: The step of 3 is 5.
What the run did:
3 leaves 3 when divided by 5, so its step is 4: each move goes 4 slots on, round to the start.
Question 33 of 33
Question 33 of 33
Not this time.
You guessed: Slot 3 is free, so put 3 there.
What the run did:
Slot 3 already holds 3. A number goes in only once, so this one is turned away.
That is every question on this run: 0 of 33 right.
Question 33 of 33
Not this time.
You guessed: Slot 3 holds another number, so step on.
What the run did:
Slot 3 already holds 3. A number goes in only once, so this one is turned away.
That is every question on this run: 0 of 33 right.
Question 33 of 33
Right.
You guessed: Slot 3 already holds 3, so turn it away.
What the run did:
Slot 3 already holds 3. A number goes in only once, so this one is turned away.
That is every question on this run: 1 of 33 right.