Leetcode Binary Tree Height Algorithm Example