minimum-depth-of-binary-tree
Question: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.
//给一颗二叉树,求从根节点到叶子节点的最小距离
思路:树的遍
原创
2017-09-25 16:36:25 ·
239 阅读 ·
0 评论