← All problems
Easy · Trees

Maximum Depth of Binary Tree

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

Full problem and submission ↗
main.js

Console

Ready