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