Pergunta de entrevista da empresa Spectra Logic

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