Class BinaryTreeNode<K, V>

Type Parameters

  • K = any

    The type of the key.

  • V = any

    The type of the value.

Hierarchy (view full)

Constructors

Accessors

  • get familyPosition(): FamilyPosition
  • Gets the position of the node relative to its parent.

    Returns FamilyPosition

    The family position (e.g., 'ROOT', 'LEFT', 'RIGHT').

    Time O(1), Space O(1)