Question: Using the two different methods below, insert the given values to the hash table that can contain at most 10 elements. For this question, simply

Using the two different methods below, insert the given values to the hash table that can contain at most 10 elements. For this question, simply fill in the table below. (a) Double Hashing Hash function: h(k)=k mod 10 h(k, 1) = [h1(k) + ih2(k)] mod m (h1=k mod 10, h2= k mod 7) 35, 45, 33, 23, 48, 10, 24, 41, 54 (b) Quadratic Probing Hash function: h(k, i) = [h'(k) + ci*i+ c2*i?] mod 10 (h= k mod 10, c1=2, c2=1) 35, 45, 33, 23, 48, 10, 24, 41, 54 (a) (b) 0 0 1 1 2 2. 3 3 4 4 5 5 6 6 7 7 8 8 9 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
