Question: In a hash table, what is the purpose of the hash function?
Options:
Correct Answer: To convert keys into hash codes
Solution:
The hash function converts keys into hash codes, which are then used to determine the index in the hash table where the corresponding value is stored.