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