What is a hash table?

2025

What is a hash table?

  1. A.

    A structure that maps values to keys

  2. B.

    A structure that maps keys to values

  3. C.

    A structure used for storage

  4. 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.

Explore the full course: Accenture Preparation