1.

Which among the following is the best technique to handle collision?(a) Quadratic probing(b) Linear probing(c) Double hashing(d) Separate chainingThis question is from Hash Tables topic in division Hash Tables of Data Structures & Algorithms IThis question was addressed to me in my homework.

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.



Discussion

No Comment Found

Related InterviewSolutions