A hash function maps a key to which of the following?
- A An index (slot) in the hash table
- B A memory address of the CPU
- C A random number
- D A linked list node
Explanation
A hash function converts a key into an index (slot) of the hash table where the corresponding value is stored.