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, i.e., it assigns to each stored element in a hash value () independent of all the other elements.
Now suppose that we switch to using a 2-universal hash family.
Prove that in this case, when /<=2/3 and is a power of 2(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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!