Differentiate between single link list and double link list
Answers
Answered by
0
The main difference between singly linked list and doubly linked list is the ability to traverse. In a single linked list, node only points towards next node, and there is no pointer to previous node, which means you can not traverse back on a singly linked list. On the other hand doubly linked list maintains two pointers, towards next and previous node, which allows you to navigatein both direction in any linked list.
Similar questions
History,
7 months ago
Math,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Computer Science,
1 year ago