Mental Model
A doubly linked list lets you move forward and backward through nodes. To insert at a position, you find that spot and link the new node between neighbors.
Analogy: Imagine a train with cars connected front and back. To add a new car in the middle, you disconnect the two cars at that spot and connect the new car between them.
null ← 1 ↔ 2 ↔ 3 -> null Positions: 1 2 3