Maximum Depth of Binary Tree ยท Easy

Easy

Solve this problem in the Code tab and use the Visualization tab to understand the algorithm. Open on LeetCode for the full statement and to submit.

Open on LeetCode

Interactive Visualization

Animation for "Maximum Depth of Binary Tree" coming soon. Use the code editor to implement your solution.