Which of the following can be the valid balance factor of any node in an AVL tree?
Show answerHide answer
Correct answer: (A) 1
Explanation
An AVL tree allows each node a balance factor (left height minus right height) of only −1, 0 or +1. So 1 is valid, while 2, 3 and 4 would need a rebalancing rotation.