InterviewSolution
Saved Bookmarks
| 1. |
What is the advantage of using a doubly linked list for chaining over singly linked list?(a) it takes less memory(b) it is easy to implement(c) it makes the process of insertion and deletion faster(d) it causes less collisionsThis interesting question is from Hash Tables in chapter Hash Tables of Data Structures & Algorithms II had been asked this question during an online interview. |
|
Answer» CORRECT option is (c) it makes the PROCESS of insertion and DELETION faster Easiest explanation - Using a doubly linked list reduces time complexity significantly. THOUGH it USES more memory to store the extra pointer. |
|