LeetCode Question · Jul 2019

Facebook | Phone screen | Binary Tree Right Side View

2 upvotes 988 views 3 replies

Question Details

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

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Binary Tree