---
title: "Discussion on \"Binary Tree Right Side View (Medium)\" | Hashnode"
description: "Discussion on \"Binary Tree Right Side View (Medium)\". 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. \nExample 1:\n\nInput: root = [1,2,3,null,5,null,4]\nOutput: [1,3,4]\n\nExample 2:\nInput: root = [1,n..."
url: "https://hashnode.com/posts/binary-tree-right-side-view-medium/66788ec1a05fd098dfda6e8e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Binary Tree Right Side View (Medium)](https://lietcode.hashnode.dev/binary-tree-right-side-view-medium?utm_source=hashnode&utm_medium=feed)

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. Example 1: Input: root = \[1,2,3,null,5,null,4\] Output: \[1,3,4\] Example 2: Input: root = \[1,n...

Jun 23, 2024 · 3 min read · lietcode.hashnode.dev  
Read the article

-   [#tree](https://hashnode.com/tag/tree)
-   [#trees](https://hashnode.com/tag/trees)

## Written by

[Abhi](https://hashnode.com/@lietcode)

@lietcode

  
[View profile](https://hashnode.com/@lietcode)

Let's crack the interviews

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
