1. Given the following data: 25 – 42 – 96 – 101 – 102 – 162 -197
a) Construct a hash table using the has function, h(key) = keymod tablesize, where the size of the table is 11. Use the rehashfunction, rh(key) = (key + 3) mod tablesize to resolvecollisions.
b) Construct a second hash table using the same hash function asabove, but use chaining to resolve collisions.
Expert Answer
An answer will be send to you shortly. . . . .