Question: What is the balance factor of a node in an AVL tree?
Options:
Correct Answer: Height of left subtree - Height of right subtree
Solution:
The balance factor of a node in an AVL tree is calculated as the height of the left subtree minus the height of the right subtree.