question 1
An empty table of 7 slots puts in 82, 12, 61 and 69, in that order. How many probes do the four puts make in all?
the answer, and why
the answer is C
82, 12 and 61 have home 5; 69 has home 6. 82 takes slot 5, 1 probe. 12 walks to slot 6, 2 probes. 61 walks slots 5 and 6 to slot 0, 3 probes. 69 finds slot 6 taken by 12, then slot 0 by 61, and takes slot 1, 3 probes. That is 9.
if you chose another
- That counts 1 probe a put, as if every home were free.
- That counts 69 as 1 probe, as if its home were free, but 12 took slot 6 on its walk.
- That leaves out 69's put, which makes 3 probes.