Facebook | Phone screen | Binary Tree Right Side View
Anonymous User
1004

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

Comments (3)