100 Khan.randRange(1, 10000) key % M
Given a hash table size of M and the simple mod hash function, what slot in the table will key hash to?

CorrectAnswer

Compute the mode of the key value.

This is key mod M.

The answer is CorrectAnswer.