Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 3 ( 4 points ) Let x and Y be finite sets and let Y x denote the set of all functions from x

Problem 3(4 points) Let x and Y be finite sets and let Yx denote the set of all
functions from x to Y. We call every subset HsubeYx a family of hash functions and
each function of H a hash function. A family of hash functions HsubeYx is said to
be strongly 2-universal if the following property holds, with hinH picked uniformly at
random:
AAx,x'inxAAy,y'inY(xx'=>Prh[h(x)=y??h(x')=y']=1|Y|2).
Let HsubeYx be a strongly 2-universal hash family with |Y|=cM2 for some constant
c>0. Suppose we use a random function hinH to hash a multi-set (a multi-set can
contain the same element multiple times) of elements of x, and suppose that contains
at most M distinct elements. Prove that the probability of a collision (i.e., the event
that two distinct elements of are hashed to the same value) is at most 12c.
Hint: You can first compute the expected number of collisions and then use Markov's
inequality.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions