avl tree is a height balanced tree. prior to inserting a new node, the balance is checked and as per requirement, it is rotated viz. ll,rr,lr,rl. for more details you can visit http://en.wikipedia.org/wiki/AVL_tree