Leetcode Find Leaves Of Binary Tree Data Structures In Javascript