leetcode-1-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.思路1:递归解法 class Solution { p
原创
2017-09-07 18:06:27 ·
176 阅读 ·
0 评论