Binary Tree Top View Leetcode Question 3