Amazon interview question

How to rotate elements or nodes in an AVL