Practice Questions On Height balanced/AVL Tree
Practice Questions On Height balanced/AVL Tree
Practice Questions On Height balanced/AVL Tree
org/practice-questions-height-balancedavl-tree/
(C)
(D) None
Solution: The element is first inserted in the same way as BST. Therefore after
insertion of 70, BST can be shown as:
However, balance factor is disturbed requiring RL rotation. To remove RL rotation, it is
first converted into RR rotation as: