What are we suppose to take?
LR - 2 rotations. RL- 2 rotations.
OR
LR - 1 rotation. RL- 1 rotation.
Kindly Solve and Verify the Total Numbers of Rotations Performed.
@jason,
Use it for visualisation : https://www.cs.usfca.edu/~galles/visualization/AVLtree.html
I am not sir :) ...just an aspirant.
4008 Points
2984 Points
2804 Points
2604 Points
2050 Points
1406 Points
1292 Points
1204 Points
1162 Points
964 Points
Gatecse
UGC NET papers