Vidyalelo
Data Structure · Q151

Hashing

Programming · Data Structure · question 151

Q151

Which of the following is the hashing function for separate chaining?

A.
H(x)=(hash(x)+f(i)) mod table size
B.
H(x)=hash(x)+i2 mod table size
C.
H(x)=x mod table size
Answer
D.
H(x)=x mod (table size * 2)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board