Chapter 10
Q. 10.FAQ.2
Given a hash table of 50 memory locations, calculate the hash values of keys 20 and 75 using the division method.
Step-by-Step
Verified Solution
m = 50, k1 = 10, k2 = 75 hash values are calculated as:
h(10) = 10 % 50 = 10
h(75) = 75 % 50 = 25