PTC Interview Question

calculate binary tree maximum height