Probability that keys being mapped to single slot = (1/n).
Probability that keys being mapped to remaining (n-1) slots = (n-1) / n .
Therefore ,
given 'k' keys to be mapped to single slot. So we have nCk such combinations, and in these combinations
'k' keys to be mapped to single slot = (1/n)^k and
remaining (n-k) keys to be mapped to remaining (n-1) slots = ((n-1)/n)^(n-k) = (1-1/n)^(n-k) .
So answer is (1/n)^k * (1- 1/n)^(n-k) * nCk. option B.