Course Solutions Uncategorized (Solved) : 1 Given Following Data 25 42 96 101 102 162 197 Construct Hash Table Using Function H Key Q29190246 . . . .

(Solved) : 1 Given Following Data 25 42 96 101 102 162 197 Construct Hash Table Using Function H Key Q29190246 . . . .

 

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. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post