title: Calculating the balance factor of a node in avl tree
body: <p>I want to calculate the balance factor of a node in avl tree without using any recursive procedure. How can i do that? Please tell me method or provide C++ code snippet.</p>