Balancing AVL tree

HI All,

I am going through insert operation in AVL tress and balancing them later and
I put in lot of effort to understand how these left or right rotation is done.they say they are rotating the tree clockwise or anti clock wise and I too tried to rotate the tree graphically but that doesnt make any sense.when they rearrange nodes according to some crazy rule why are they calling left rotation or right rotation?
Please help.

Thanks in advance!
Topic archived. No new replies allowed.