LeetCode 104: Maximum Depth Of Binary Tree — Step-by-Step Visual Trace
Easy — Binary Tree | Depth-First Search | Recursion | Tree
The Problem
Given the root of a binary tree, return its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
Appro...
blog.tracelit.dev1 min read