Leetcode Height Of Binary Tree Code In Python For Games