Examveda

In an AVL tree, what happens when a node is deleted and it causes imbalance?

A. The node is immediately reinserted.

B. The tree is rebuilt from scratch.

C. The imbalance is ignored.

D. Rebalancing with rotations is performed.

Answer: Option D


Join The Discussion

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