The GATE Grind

GATE 2015 CS (CS3) – Question 22

Algorithms · Searching, Sorting and Hashing · 1 mark · Numerical answer

A hash table with 25 slots stores 2000 elements. Find its load factor α.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 80

Explanation

Load factor is the number of stored elements divided by the number of table slots. Therefore α=2000/25=80. Such a value is possible with external chaining; the question does not impose the occupancy limit of open addressing.

More Searching, Sorting and Hashing questions

All Searching, Sorting and Hashing questions →