Problems / Trees / Maximum Depth of Binary Tree
#47 Easy Time O(n) Space O(n) Animated

Maximum Depth of Binary Tree

Find the maximum depth of a binary tree.

LeetCode ↗
Approach: DFS (Recursion)
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps