• Feed
  • Discussions
Height of a Binary Tree

Height of a Binary Tree

#height-of-a-binary-tree
0 followers·3 articles

Height of a Binary Tree

#height-of-a-binary-tree·0 followers·3 articles
Height of a Binary Tree
Chetan Datta
Chetan Datta
chetan77.hashnode.dev·Oct 27, 2024
Oct 27, 2024

Diameter of Binary Tree

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...

Diameter of Binary Tree
Discuss·18 reads
Leetcode
diameter-of-binary-tree
Chetan Datta
Chetan Datta
chetan77.hashnode.dev·Oct 26, 2024
Oct 26, 2024

Balanced Binary Tree

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...

Balanced Binary Tree
Discuss·9 reads
Leetcode
balanced-binary-tree
Chetan Datta
Chetan Datta
chetan77.hashnode.dev·Sep 23, 2024
Sep 23, 2024

Height of a Binary Tree - Max Depth

Problem Given the root of a binary tree, return its maximum depth. A binary tree's maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. (link) Example 1: Input: root = [3,9,20,null,null,15,7]...

Height of a Binary Tree - Max Depth
Discuss·11 reads
Leetcode
Height of a Binary Tree

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

LifeApp: The Web3 Lifestyle Product Redefining Real-World Utility in Crypto.

Patience Uyire·48 reads

From DeFi Roots to Global Reach: What $STON's KuCoin Listing Means for the Future of TON.

Patience Uyire·45 reads

Beyond Steps: How PlaynowLife is Redefining Lifestyle Rewards.

Patience Uyire·57 reads

Top commenters this week

Deepak Kumar
Deepak Kumar
How My Hotmail Accounts
How My Hotmail Accounts
Rabbi Islam
Rabbi Islam
Areeba Nishat
Areeba Nishat
VIPERTOTO >> Situs Judi Online Aman & Terpercaya di Indonesia.
VIPERTOTO >> Situs Judi Online Aman & Terpercaya di Indonesia.

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior