搜索资源列表
erchashu
- 1、 利用先序遍历和层次遍历的结果建立二叉树 2、 实现二叉树的层次遍历 3、 统计二叉树叶子结点的个数(递归)。 4、 将二叉树左右子树相互交换(递归) 5、 判断二叉树是不是二叉排序树。 6、 完成二叉排序树的插入、删除和平衡操作。 -1, the use of first order to traverse and level traversal of the results established binary tree 2 and realize the b
BinaryTree
- 二叉树的定义和前序,中序,后序,层次遍历。包括递归的写法和非递归的写法。附有部分注释!-The definition of a binary tree and preamble, inorder, postorder, level traversal. Including wording of recursive and non-recursive written. With some notes!
complete-binary-tree--traversal
- 完全二叉树的前序、中序、后序、层次遍历 使用JAVA实现 精确简洁 使用最小的空间实现最全的功能-Complete binary tree before order, in sequence, after the level traversal using JAVA achieve accurate and simple to use minimal space to achieve the most complete functionality
二叉树非递归创建
- 用c++编程,二叉树非递归的创建,创建 求深度 查找 求叶子结点数 遍历输出 层次遍历 层次创建(Non-recursive creation of binary tree)