PTC interview question

Write cpp code to find binary tree height