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.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.