Question: .......PLEASE I NEED THE ANSWER IN LESS THAN 70 MINUTES........ Using the two different methods below, insert the given values to the hash table that
.......PLEASE I NEED THE ANSWER IN LESS THAN 70 MINUTES........
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) Linear Probing
Hash function: h(k)=k mod 10
(b) Quadratic Probing
Hash function: h(k, i) = [h(k) + c1*i + c2*i2 ] mod 10 (h= k mod 10, c1=3, c2=1)
35, 46, 45, 50, 26, 12, 55, 17, 7
A:
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
B:
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
. I WILL GIVE YOU A LIKE.....
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
