Class AVLTreeNode<K, V>

Represents a node in a binary tree.

V> - The type of the family relationship in the binary tree.

Type Parameters

  • K = any
  • V = any

    The type of data stored in the node.

Hierarchy (view full)

Constructors

Constructors

  • This TypeScript constructor function initializes an instance with a key and an optional value.

    Type Parameters

    • K = any
    • V = any

    Parameters

    • key: K

      The key parameter is typically used to uniquely identify an object or element within a data structure. It serves as a reference or identifier for accessing or manipulating the associated value or data.

    • Optionalvalue: V

      The value parameter in the constructor is optional, meaning it does not have to be provided when creating an instance of the class. If a value is not provided, it will default to undefined.

    Returns AVLTreeNode<K, V>