For an array of size , the first probe finds the uniformly selected target with probability . Otherwise it leaves a half of size ; conditional on entering that half, its target is uniform there. Counting the first iteration in every case gives
For , the successful-search decision tree has targets at depth , requiring iterations. Thus
The numerator is , as follows by induction or by shifting and subtracting a finite geometric sum. Substituting gives
The base gives one iteration, as required.

Articles by others on the same topic (0)

There are currently no matching articles.