Computer Science · Data Structures
How many rotations (Left and Right) are required during the construction of an AVL tree if the elements 35, 50, 40, 25, 30, 60, 78, 20, 28 are inserted in the given sequence into an initially empty tree?
- 12 left rotations, 2 right rotations
- 22 left rotations, 3 right rotations✓
- 33 left rotations, 2 right rotations
- 43 left rotations, 1 right rotation
Correct answer
2 left rotations, 3 right rotations
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures