leetcode: 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.该问题求二叉树最短长度,那么一旦涉及到二叉树的时候,我们就要注意到百分十八...
原创
2018-03-07 11:25:23 ·
169 阅读 ·
0 评论