---
title: "Discussion on \"Balanced Binary Tree\" | Hashnode"
description: "Discussion on \"Balanced Binary Tree\". Problem statement\nGiven a binary tree, determine if it is height-balanced.(link)\nExample 1:\n\nInput: root = [3,9,20,null,null,15,7]\nOutput: true\n\nExample 2:\n\nInput: root = [1,2,2,3,3,null,null,4,4]\nOutput: false\n\nExample 3:\nInput: root = []\nOutput: tr..."
url: "https://hashnode.com/posts/balanced-binary-tree/671d14ed83ca8581476ce16f"
---

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

Discussion

# [Balanced Binary Tree](https://chetan77.hashnode.dev/balanced-binary-tree?utm_source=hashnode&utm_medium=feed)

Problem statement Given a binary tree, determine if it is height-balanced.(link) Example 1: Input: root = \[3,9,20,null,null,15,7\] Output: true Example 2: Input: root = \[1,2,2,3,3,null,null,4,4\] Output: false Example 3: Input: root = \[\] Output: tr...

Oct 26, 2024 · 2 min read · chetan77.hashnode.dev  
Read the article

-   [#balanced-binary-tree](https://hashnode.com/tag/balanced-binary-tree)
-   [#binary-tree](https://hashnode.com/tag/binary-tree)
-   [#dfs](https://hashnode.com/tag/dfs)
-   [#height-of-a-binary-tree](https://hashnode.com/tag/height-of-a-binary-tree)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

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

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
