Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2-universal hash functions, which have collision probability 1/n for any two items. A k-universal hash function h: U [n] is any random hash function
2-universal hash functions, which have collision probability 1/n for any two items. A k-universal hash function h: U [n] is any random hash function that satisfies, for any inputs x1, ..., xk U, Pr[h(x1) = h(x2) = . . . = h(xk)] s 1 nk-1. 1. (2 points) Suppose you hash n balls into n hash buckets using a 2-universal hash function. Show that for t = 5n, the number of pairwise collisions exceeds t with probability at most 1/10. 2. (2 points) Use the above to argue that for t = 4 n, that the maximum load on any bin exceeds t with probability at most 1/10. Hint: Don't use a union bound. 3. (2 points) Generalize this result to k-universal hash functions for k> 2. Show that if t = cn1/k for large enough constant c, that the probability of the maximum load exceeding t at most 1/10. Hint: Instead of pairwise collisions, consider the expected number of k-wise collisions.
Step by Step Solution
★★★★★
3.42 Rating (142 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below 1 Let the probability of a pair ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started