Class RedBlackTree<T>

Class representing a Red-Black Tree data structure.

Type Parameters

  • T

    The type of values stored in the tree.

Constructors

Methods

  • Performs an in-order traversal of the Red-Black Tree.

    Parameters

    • callback: ((value: T) => void)

      A callback function to apply to each node's value.

        • (value): void
        • Parameters

          • value: T

          Returns void

    Returns void