541 views
0 votes
0 votes
If h is any hashing function and is used to hash n keys in to a table of size m, where n<=m, the expected number of collisions involving a particular key x is :

a.)Less than 1

b.)Less than n

c.)Less than m

d.)Less than n/2.

My thought:

If all the elements maps to same key then number of collisions would be less than n, am I wrong anywhere

1 Answer

Related questions

0 votes
0 votes
0 answers
1
shivangi5 asked Oct 31, 2017
346 views
Consider a hashing function that resolves collision by quadratic probing .Assume the address space is indexed from 1 to 6. Which of the following locations will never be ...