What is a doubly linked list?
17 views
- A linked list where each node has two pointers, one to the previous node and one to the next node (Correct Answer)
- A linked list where each node has one pointer, to the next node
- A linked list where each node has one pointer, to the previous node
- None of the above
Explanation
Answer: a) A linked list where each node has two pointers, one to the previous node and one to the next node.
Explanation: A doubly linked list is a linked list where each node has two pointers, one to the previous node and one to the next node.