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

    Interface ILinkedList<N>

    Base interface for all linked list implementations. Provides the common structure and properties shared by both singly and doubly linked lists.

    interface ILinkedList<N> {
        head: null | N;
        size: number;
        tail: null | N;
    }

    Type Parameters

    • N

      The type of nodes contained in the list.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    head: null | N

    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: null | N

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