Consider 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?
A
(97×96×95)/1003
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
(99×98×97)/1003
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
(97×96×95)(3!×1003)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
(97×97×97)/1003
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A(97×96×95)/1003
P (First 3 slots are unfilled after the first 3 insertions) because of uniform hashing