1.

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

Answer»

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.



Discussion

No Comment Found

Related InterviewSolutions