Question: Question 4 (3 marks) Consider character string key consisting of three characters C1, C2, C3 and the following hash functions for a hash table of

 Question 4 (3 marks) Consider character string key consisting of three

Question 4 (3 marks) Consider character string key consisting of three characters C1, C2, C3 and the following hash functions for a hash table of size 1250 with linear probing. Which of the following hash functions are good (less collisions) ones? Describe your answer briefly. For each hash function, talk about the cases where you get collisions. a) H1= C1 +5+C2 mod 1250 b) H2= 10*C1 +100*C2 +1000*C3 mod 1250 c) H3= 11*C1 +101*C2 +1001*C3 mod 1250 swer Q4 here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!