Question: What is the purpose of a hash function in a hash table?
Options:
Correct Answer: To map keys to indices
Solution:
The hash function\'s purpose is to map keys to indices in the hash table, allowing for efficient data retrieval.