GATE 2014 CS (CS3) – Question 50
A 100-slot hash table resolves collisions by chaining. Under simple uniform hashing, find the probability that the first three slots remain empty after the first three insertions.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $97^3/100^3$
Explanation
Each independent uniform insertion must hash into one of the other97slots. Chaining allows repeated choices of those slots without reducing the available set. Therefore probability is **(97/100)³,A**. Multiplying97×96×95would incorrectly require distinct destinations.