二叉树
i-Blue
抱平常心走平常路
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
222. Count Complete Tree Nodes
题:Given a complete binary tree, count the number of nodes.Definition of a complete binary tree from Wikipedia:In a complete binary tree every level, except possibly the last, is completely fil原创 2016-09-06 16:29:20 · 261 阅读 · 0 评论 -
二叉树的前序、中序、后序遍历—迭代方法
leetcode上的相关题目:前序:https://leetcode.com/problems/binary-tree-preorder-traversal/?tab=Description中序:https://leetcode.com/problems/binary-tree-inorder-traversal/?tab=Description后序:https://leetcode.原创 2017-02-25 11:35:46 · 10043 阅读 · 0 评论
分享