What is a hash table?
2025
What is a hash table?
- A.
A structure that maps values to keys
- B.
A structure that maps keys to values
- C.
A structure used for storage
- D.
A structure used to implement stack and queue
Attempted by 201 students.
Show answer & explanation
Correct answer: B
Answer: b
Explanation: A hash table is used to implement associative arrays which has a key-value pair, so the has table maps keys to values.