+1 vote
in Data Structures & Algorithms I by (88.2k points)
What is the disadvantage of hashing with chaining?

(a) not easy to implement

(b) takes more space

(c) quite sensitive to hash function

(d) table gets filled up easily

Question is taken from Hash Tables in division Hash Tables of Data Structures & Algorithms I

I had been asked this question in an interview.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
Right choice is (b) takes more space

Easy explanation - Hashing with separate chaining has a disadvantage that it takes more space. This space is used for storing elements in case of a collision.

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.