Amazon Interview Question

How to rotate elements or nodes in an AVL