In an AVL tree, the balance factor of every node must be:
Show answerHide answer
Correct answer: (B) −1, 0 or +1
Explanation
Balance factor = height(left) − height(right).
Correct answer: (B) −1, 0 or +1
Explanation
Balance factor = height(left) − height(right).
This is question 147 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.