Skip to content
Related Articles
Open in App
Not now

Related Articles

ISRO | ISRO CS 2013 | Question 2

Improve Article
Save Article
  • Last Updated : 11 May, 2018
Improve Article
Save Article

The number of rotations required to insert a sequence of elements 9,6,5,8,7,10 into an empty AVL tree is?
(A) 0
(B) 1
(C) 2
(D) 3


Answer: (D)

Explanation: The insertion and rotation of the various elements are shown in the following figure:

So, the total number of rotations are 3.

Quiz of this Question

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!