Interface IDoublyLinkedListNode

Base interface representing a doubly linked list node. Extends the concept of linked nodes by maintaining references to both next and previous nodes.

interface IDoublyLinkedListNode {
    next: null | IDoublyLinkedListNode;
    previous: null | IDoublyLinkedListNode;
}

Implemented by

Properties

Properties

Reference to the next node in the list. Set to null if this is the last node or detached from the list.

previous: null | IDoublyLinkedListNode

Reference to the previous node in the list. Set to null if this is the first node or detached from the list.