solulubeta
Sign in
NeetCode 150 / Trees
07.09 · Problem

Binary Tree Right Side View

Medium BFS, last node of each level 1 video LC 199 Pro

This problem is part of solulu Pro

Imagine standing to the right of a binary tree. Return the values of the nodes you can see, from top to bottom — the rightmost node of each level.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 54 of 150 · updated 2026-10-12