Open In App

ISRO | ISRO CS 2013 | Question 2

Last Updated : 11 May, 2018
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads