Abstract Linked Lists - v1.1.0
    Preparing search index...

    Interface IDoublyLinkedList<N>

    Interface representing a doubly linked list data structure. Implements the base linked list interface with doubly linked nodes.

    interface IDoublyLinkedList<
        N extends IDoublyLinkedListNode = IDoublyLinkedListNode,
    > {
        head: N | null;
        size: number;
        tail: N | null;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Properties

    head: N | null

    Reference to the first node in the list. Set to null when the list is empty.

    size: number

    The current number of nodes in the list.

    tail: N | null

    Reference to the last node in the list. Set to null when the list is empty.