Binary Tree In Leetcode Javascript Problems