Question: 4. Can you come up with a perfect hash function for the names of days of the week? The names of the months of the

4. Can you come up with a perfect hash function for the names of days of the week? The names of the months of the year? Assume a table size of 10 for days of the week and 15 for names of the months. In case you cannot find any perfect hash functions, w wl accept solutions that produce a smal number of collisions (3). 5. The function containsKeyO can be used to see if a dictionary contains a given key. How could you determine if a dictionary contains a given value? What is the complexity of your procedure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
