132k views
0 votes
What is the difference between a doubly linked list and a singly linked list?

1 Answer

2 votes

Answer:

A doubly linked list links each element to both its predecessor and successor, whereas a singly linked list only points to its successor.

Step-by-step explanation:

Doubly linked lists are easier to iterate backwards. With singly linked lists you'd have to start at the beginning every time.

User Ehsan Kia
by
5.2k points