HF RL Explorer

AVL Tree Height and Balance Factor Implementation

AVL Tree Height and Balance Factor Implementation: a task in Terminal-Lego-15k (Harbor dataset). You are required to implement core functions for an AVL tree that calculate node heights and balance factors. These are fundamental operations needed for AVL tree balancing.

The task

You are required to implement core functions for an AVL tree that calculate node heights and balance factors. These are fundamental operations needed for AVL tree balancing.

Part of PrimeIntellect/Terminal-Lego-15k.