What is the advantage of using a doubly linked list for chaining over singly linked list?

Nguyễn Hào

New member
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 collisions
 
Answer: c
Explanation: Using a doubly linked list reduces time complexity significantly. Though it uses more memory to store the extra pointer.
 

Tìm kiếm

Back
Top