Given the root of a binary tree, imagine standing on the right side. Return the values of the nodes visible from the right side.
Input: [1,2,3,null,5,null,4] Output: [1,3,4]
Unlock hints progressively — start gentle, go deeper only if needed.
Level 1: Gentle Nudge
A subtle direction
Level 2: Approach
The algorithm to use
Level 3: Detailed
Step-by-step guidance
to save progress and use AI features