What is the load factor?

Category: QuestionsWhat is the load factor?
Editor">Editor Staff asked 1 month ago

What is the load factor?
(a) Average array size
(b) Average key size
(c) Average chain length
(d) Average hash table length
Question is from Hash Tables in division Hash Tables of Data Structures & Algorithms I
This question was addressed to me in homework.

1 Answers
Editor">Editor Staff answered 1 month ago

The correct answer is (c) Average chain length
The best I can explain: In simple chaining, load factor is the average number of elements stored in a chain, and is given by the ratio of number of elements stored to the number of slots in the array.