摘要:
一、最大深度问题 描述: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to t 阅读全文
posted @ 2017-08-21 11:19
华不摇曳
阅读(413)
评论(0)
推荐(0)
摘要:
描述: 前序遍历: Given a binary tree, return the preorder traversal of its nodes' values. 给出一棵二叉树,返回其节点值的前序遍历。 给出一棵二叉树,返回其节点值的前序遍历。 给出一棵二叉树,返回其节点值的前序遍历。 样例 给 阅读全文
posted @ 2017-08-21 11:03
华不摇曳
阅读(642)
评论(0)
推荐(0)

浙公网安备 33010602011771号