Amazon Interview Question

Write an algorithm to check if tree is height balanced or not.