Question: In a hash table, what is the purpose of a hash function?
Options:
Correct Answer: To convert keys into indices
Solution:
The hash function converts keys into indices, allowing for efficient data retrieval in the hash table.