Given a hash table T with 25 slots that stores 2000 elements, the load factor…

2023

Given a hash table T with 25 slots that stores 2000 elements, the load factor α for T is __________

  1. A.

    80

  2. B.

    0.0125

  3. C.

    8000

  4. D.

    1.25

Attempted by 164 students.

Show answer & explanation

Correct answer: A

Explanation:

load factor = (no. of elements) / (no. of table slots) = 2000/25 = 80

Explore the full course: Accenture Preparation