+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which among the following is the best technique to handle collision?

(a) Quadratic probing

(b) Linear probing

(c) Double hashing

(d) Separate chaining

This question is from Hash Tables topic in division Hash Tables of Data Structures & Algorithms I

This question was addressed to me in my homework.

1 Answer

+1 vote
by (737k points)
selected by
 
Best answer
The correct answer is (a) Quadratic probing

Easy explanation - Quadratic probing handles primary collision occurring in the linear probing method. Although secondary collision occurs in quadratic probing, it can be removed by extra multiplications and divisions.

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.

Categories

...