Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 291 Bytes

File metadata and controls

18 lines (9 loc) · 291 Bytes

Problem 104: Maximum Depth of Binary Tree

Difficulty: Easy

Problem

Given a binary tree, find 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.

Example

Self-explanatory