Amazon Interview Question

Implement an algorithm to find if a BST is balanced.