Examveda

In an AVL tree, what condition triggers a double rotation?

A. When a node's height is greater than its parent.

B. When a node's balance factor is -3 or +3.

C. When a node's balance factor is -1 or +1.

D. When a node's balance factor is -2 or +2.

Answer: Option D


Join The Discussion

Related Questions on Advanced Trees (AVL, RedBlack, BTrees)