Which rotations in an AVL tree is known as double rotation?
Show answerHide answer
Correct answer: (D) LR and RL
Explanation
LR and RL cases each need two single rotations, so they are called double rotations. LL and RR need only one.
Correct answer: (D) LR and RL
Explanation
LR and RL cases each need two single rotations, so they are called double rotations. LL and RR need only one.
This is question 66 of DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3. 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.