in DS
861 views
3 votes
3 votes

How to approach this problem ? what does "right rotation at K" mean ? is it LR 

in DS
861 views

6 Comments

Ans is B)?
0
0
can you explain how to approach this problem ?
0
0
Is answer B) correct?

I have just rotated the nodes
0
0
which rotation you performed?
0
0
Need to know option is correct or not
0
0

correct option wasn'treveled. So had to try again again untill it showed correct or not..

option b was shown to be correct.. Can u explain how ?

0
0

1 Answer

0 votes
0 votes
according to me there is some discrepancy in the question as root X even after different rotations remains unbalanced and there is no node greater than it.

Related questions