Question d’entretien chez Amazon

Implement an algorithm to find if a BST is balanced.