Question: In class we analyzed linear probing assuming the hash function is uniformly random, i . e . , it assigns to each stored element in
In class we analyzed linear probing assuming the hash function is uniformly random, ie it assigns to each stored element in a hash value independent of all the other elements.
Now suppose that we switch to using a universal hash family.
Prove that in this case, when and is a power of as in class for any key in the expected length of the run to which belongs is log
Hint: most of the analysis we did in class still applies, but now we cannot use Chernoff to bound the probability that a block is crowded. Use Chebyshevs inequality instead
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
