Question: Suppose that you are using the following hash function to keep records of students in hash map. H(K) = month of K where K
Suppose that you are using the following hash function to keep records of students in hash map. H(K) = month of K where K is the birth date of the student. What is the probability that you will have at least one collision after inserting 50 students in the databese? Explain and show your calculations clearly.
Step by Step Solution
There are 3 Steps involved in it
Step 1 Identify the total number of hash slots which is the number of months 12 Step 2 Calculate the ... View full answer
Get step-by-step solutions from verified subject matter experts
