it is not taught anywhere in linked list section but there were questions regarding doubly linked list in mcq quiz
so…what is doubly linked list plz explain?
What is doubly linked list?
In doubly linked list, each node contains 2 pointers while in case of link list (or singly linked list) there is one pointer per node.
The single pointer in the singly linked list points to the node next to it (or the node inserted after it).
On the other hand, an extra pointer per node in doubly linked list points to the node prior to it (or the previous node).
If you want to understand this in detail, refer to the following link.
Hope, this would help.
I am marking this doubt as resolved as you have not replied to this thread for 12 days.
In case, you still have some doubts regarding the same problem, you can reopen this doubt.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.