Pregunta de entrevista de Oracle

Check whether a tree is balanced or not / Check for AVL tree. (Written Code)