文件名称:treebintree
- 所属分类:
- 数值算法/人工智能
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 315kb
- 下载次数:
- 0次
- 提 供 者:
- j***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(1)输入字符序列,建立二叉链表。
(2)中序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法(最好也能实现先序,后序非递归算法)。
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)建立中序线索二叉树,并实现中序遍历。
(8)借助队列实现二叉树的层次遍历。
(9)在主函数中设计一个简单的菜单,分别调试上述算法。
-(1) input sequence of characters, the establishment of binary list. (2) traversal of binary tree: recursive algorithm. (3) in order binary tree traversal: Non-recursive algorithm (the best can achieve the first order, after the sequence of non-recursive algorithm). (4) for tree height. (5) for the number of tree leaves. (6) in order to establish clues to binary tree and traversal implementation. (8) through the queue to achieve the level of binary tree traversal. (9) in the main function in the design of a simple menu, respectively, the above algorithm debugging.
(2)中序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法(最好也能实现先序,后序非递归算法)。
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)建立中序线索二叉树,并实现中序遍历。
(8)借助队列实现二叉树的层次遍历。
(9)在主函数中设计一个简单的菜单,分别调试上述算法。
-(1) input sequence of characters, the establishment of binary list. (2) traversal of binary tree: recursive algorithm. (3) in order binary tree traversal: Non-recursive algorithm (the best can achieve the first order, after the sequence of non-recursive algorithm). (4) for tree height. (5) for the number of tree leaves. (6) in order to establish clues to binary tree and traversal implementation. (8) through the queue to achieve the level of binary tree traversal. (9) in the main function in the design of a simple menu, respectively, the above algorithm debugging.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
树和二叉树
..........\Debug
..........\树和二叉树.cpp
..........\树和二叉树.dsp
..........\树和二叉树.dsw
..........\树和二叉树.ncb
..........\树和二叉树.opt
..........\树和二叉树.plg
树和二叉树.doc
..........\Debug
..........\树和二叉树.cpp
..........\树和二叉树.dsp
..........\树和二叉树.dsw
..........\树和二叉树.ncb
..........\树和二叉树.opt
..........\树和二叉树.plg
树和二叉树.doc