+1 vote
in Data Structures & Algorithms I by (88.2k points)
What should be the load factor for separate chaining hashing?

(a) 0.5

(b) 1

(c) 1.5

(d) 2

The question is from Hash Tables topic in chapter Hash Tables of Data Structures & Algorithms I

This question was addressed to me during an internship interview.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.