InterviewSolution
Saved Bookmarks
| 1. |
Which of the following technique stores data in a separate entity in case of a collision?(a) Open addressing(b) Chaining using doubly linked list(c) Linear probing(d) Double hashingThis is a very interesting question from Hash Tables in portion Hash Tables of Data Structures & Algorithms II got this question during an online interview. |
|
Answer» CORRECT answer is (b) Chaining using doubly linked list Best EXPLANATION: Chaining using doubly linked list is used to store data in a separate entity (doubly linked list in this CASE) in case of a COLLISION. Whereas open addressing stores it in the table itself. |
|