Domanda di colloquio di Spectra Logic

How to detect if a binary tree is properly balanced or not.