InterviewSolution
Saved Bookmarks
| 1. |
Given a hash table with n keys and m slots with simple uniform hashing. If collisions are resolved by chaining then what is the probability that the first slot ends up empty ?(A) (1 / m)n(B) [1 – (1/m)]n(C) (1/n)m(D) [1 – (1/n)]m |
| Answer» | |