You are given a binary tree, print all nodes when you view it from right side.
1 / \ 2 3 / \ 4 5
Output: 1,3,5
https://leetcode.com/problems/binary-tree-right-side-view