algoritmauzmanı
TREN
Subtopic 3.2

Doubly Linked List

6lessons33 min0done on this device

In a doubly linked list each node holds two addresses: for the following node and for the one before. The list can be walked in both directions, and deleting a node you already hold needs no search for its predecessor.

The price is that every insert and delete must update two links together. Most lessons in this subtopic show which link changes, and in which order.

Lesson 3.2.1 What is a doubly linked list?5 min