Binary Tree Right Side View at Meta
Medium69.5% acceptance
This problem has 87.5% frequency at Meta.
Problem Description
Given the `root` of a binary tree, imagine yourself standing on the **right side** of it, return _the values of the nodes you can see ordered from top to bottom_.
Read full problem and hintsTopics
Also asked at 15 companies
More Meta Questions
Lowest Common Ancestor of a Binary TreeMediumDiameter of Binary TreeEasyShortest Path in Binary MatrixMediumSum Root to Leaf NumbersMediumClone GraphMedium
View all Meta questions