Hash table with double hashing
Seven slots in a row, one number each. A number's home is the remainder it leaves when divided by 7, and its step is 1 more than the remainder by 5. If its home is taken, it moves on by its own step, round to the start, so numbers sharing a home soon part.
- slots looked at
- 0
step 1 of 1
Examples