GATE CS 2014, set 3 · Question 50 · Algorithms · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
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 × 97 × 97)/100³
- (B) (99 × 98 × 97)/100³
- (C) (97 × 96 × 95)/100³
- (D) (97 × 96 × 95)/(3! × 100³)
Answer
Answer (A)
Answer from the official GATE CS 2014 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes