Maximum Depth of Binary Tree
Easy
Binary Trees
Given a binary tree in level-order form (null for a missing child), print its maximum depth, the number of nodes on the longest root-to-leaf path.
Constraints
0 <= number of nodes <= 10^4 -100 <= value <= 100
Discussion
No discussions yet.
Join Shalyam Newsletter
Get exclusive insights with every issue: education, research and innovation news.
Shalyam Support
Hi! Ask us anything โ we'll reply on WhatsApp or Telegram within 24 hours.