1.

Which of the following technique stores data separately in case of a collision?(a) Open addressing(b) Double hashing(c) Quadratic probing(d) Chaining using a binary treeThis is a very interesting question from Hash Tables in section Hash Tables of Data Structures & Algorithms IThis question was addressed to me in an interview.

Answer»

Correct option is (d) Chaining using a binary tree

To explain: Open ADDRESSING is used to store data in the table itself in CASE of a collision. Whereas chaining STORES data in a separate ENTITY.



Discussion

No Comment Found

Related InterviewSolutions