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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!