Question: Consider a hash table with 13 slots. The hash function is h(k) = k mod 13. Double hashing is used with second hash function h2(k)
Consider a hash table with 13 slots. The hash function is h(k) = k mod 13. Double hashing is used with second hash function h2(k) = 1 + k mod 7. The table currently contains:
-
If we insert 30 next, what slot will it occupy ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
