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