Maximum Depth of Binary Tree

Count the nodes on the longest root-to-leaf path.

Loading NamasteScale