solulubeta
Sign in
NeetCode 150 / Trees
07.02 · Problem

Maximum Depth of Binary Tree

Easy DFS returning height 1 video LC 104 Pro

This problem is part of solulu Pro

Return the maximum depth of a binary tree: the number of nodes on the longest path from the root down to a leaf.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 47 of 150 · updated 2026-10-12