https://oj.leetcode.com/problems/minimum-depth-of-binary-tree/
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.
'풀어본 Algorithm 문제 정리' 카테고리의 다른 글
[Oj.leetcode] swap-nodes-in-pair (0) | 2014.07.27 |
---|---|
[OJ.leetcode] jump-game-ii (0) | 2014.07.22 |
[OJ.leetcode] minimum-path-sum (0) | 2014.07.19 |
[OJ.leetcode] reverse-nodes-in-k-group (0) | 2014.07.17 |
[OJ.leetcode] same-tree (0) | 2014.07.15 |