1.

What should be the load factor for separate chaining hashing?(a) 0.5(b) 1(c) 1.5(d) 2The question is from Hash Tables topic in chapter Hash Tables of Data Structures & Algorithms IThis question was addressed to me during an internship interview.

Answer»

Right option is (b) 1

To EXPLAIN: For hashing using separate chaining method, the load factor should be maintained as 1. For open ADDRESSING method, it should not EXCEED 0.5.



Discussion

No Comment Found

Related InterviewSolutions