wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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

=97100×96100×95100

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Theoritical probablity
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon