TCS
Company
Category
Considering a hash table with 100 slots. Collisions are resolved using chaining. Assuming simple uniform hashing, what is the probability that the first 3 slots are unfilled after the first
3 insertions? (NOTE:100 ^ 3 means 100 raised to the power 3)
Read Solution (Total 1)
-
- as the 3 slots are to be unfilled in first three insertions we must insert the key into one among 97 slots
as this is chaining the three keys can even occupy the same slot so the probability is (97/100)^3 - 5 years agoHelpfull: Yes(1) No(0)
TCS Other Question