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: Minimum Depth of Binary Tree

Difficulty: Easy

Problem

Given a binary tree, find its minimum depth.

The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.

Example

Self-explanatory