PTC Interview Question

Write cpp code to find binary tree height