Doubly Linked List
A linear data structure containing a sequence of nodes. Each node stores data, a pointer to the next node, and a pointer to the previous node. Visualized here are inserts and deletes at any index, showing traversal and bi-directional pointer logic.
class Node {
data: any;
next: Node | null;
prev: Node | null;
}Idx
HEAD(Start)
NULL