Question: In what scenario would you use a doubly linked list instead of a singly linked list?
Options:
Correct Answer: When you need to traverse the list in both directions
Solution:
A doubly linked list is used when you need to traverse the list in both directions, allowing for more flexible navigation.