---
title: "#diameter-of-binary-tree articles | Hashnode"
description: "Explore 1 articles tagged #diameter-of-binary-tree on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/diameter-of-binary-tree"
---

Tag

# #diameter-of-binary-tree

1 posts · 0 followers

[Chetan Datta](https://hashnode.com/@chetan77) · [Oct 27, 2024](https://hashnode.com/posts/diameter-of-binary-tree/671dc4fc8b6b3efc64cbb928)

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

Problem Given the root of a binary tree, return the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path between any two nodes in a tree. This path may or may not pass through the root. The length of a p...

2 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/diameter-of-binary-tree?utm_source=hashnode&utm_medium=feed)
