please help me with this question
Write an algorithm to convert a BST tree into an AVL tree.
thanks in advance.