...
Database-Management-System
October 16, 2023
GATE 2021 CS-Set-2
October 16, 2023
Database-Management-System
October 16, 2023
GATE 2021 CS-Set-2
October 16, 2023

NTA-UGC-NET 2021 Dec & 2022 June Paper-2

Question 23
How many rotations are required during the construction of an AVL tree if the following elements are to be added in the given sequence?
35, 50, 40, 25, 30, 60, 78, 20, 28
A
2 left rotations, 2 right rotations
B
2 left rotations, 3 right rotations
C
3 left rotations, 2 right rotations
D
3 left rotations, 1 right rotations
Correct Answer: D
0 0 votes
Article Rating
Subscribe
Notify of
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Here Option C is correct instead of D .
1
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!