文件名称:binary-tree
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-07-20
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- f**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(1)输入字符序列,建立二叉链表。
(2)先序、中序、后序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法。(最好也能实现先序、后序非递归算法)
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)借助队列实现二叉树的层次遍历。
(7)在主函数中设计一个简单的菜单,分别调试上述算法。-(1) Enter the character sequence to build binary list. (2) first order, in sequence, after the binary tree traversal: recursive algorithm. (3) traversal of a binary tree: non-recursive algorithm. (Preferably also able to achieve the first sequence, after the non-recursive algorithm) (4) binary tree of height. (5) the number of tree leaves. (6) With the level of a binary tree traversal queue. (7) in the main function to design a simple menu, respectively debugging the above algorithm.
(2)先序、中序、后序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法。(最好也能实现先序、后序非递归算法)
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)借助队列实现二叉树的层次遍历。
(7)在主函数中设计一个简单的菜单,分别调试上述算法。-(1) Enter the character sequence to build binary list. (2) first order, in sequence, after the binary tree traversal: recursive algorithm. (3) traversal of a binary tree: non-recursive algorithm. (Preferably also able to achieve the first sequence, after the non-recursive algorithm) (4) binary tree of height. (5) the number of tree leaves. (6) With the level of a binary tree traversal queue. (7) in the main function to design a simple menu, respectively debugging the above algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
二叉树.cpp