https://leetcode.com/problems/binary-tree-right-side-view/?envType=study-plan-v2&envId=top-interview-150
inorder(node.right) if(ary[height]==null)ary[height]=node.val inorder(node.left)