
In an exam paper I had following AVL tree. Need to insert 27 and 69 and check what type of rotation that is needed. My answer:
I inserted 27 on the right of 23 and 69 on the right of 67.
So far the answer should be good. my only problem is how to rotate this . I was thinking to rotate it into the following

Can someone confirm this is the best way to do it since i am still shaky in this topic! Thank you
