Leetcode Height Of Binary Tree Hackerrank Problem