文件名称:The-tree
-
所属分类:
- 标签属性:
- 上传时间:2013-03-08
-
文件大小:7.77kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(1)输入字符序列,建立二叉链表。
(2)中序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法。(最好也能实现先序,后序非递归算法)
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)建立中序线索二叉树,并实现中序遍历。
(8)借助队列实现二叉树的层次遍历。
(9)在主函数中设计一个简单的菜单,分别调试上述算法。-(1) Enter the character sequence of binary list. (2) in traversing Binary: recursive algorithm. (3) in traversing Binary: non-recursive algorithm. (Best to achieve the first-order, post-order non-recursive algorithm) (4) Find the height of the binary tree. (5) Find the number of leaves of a binary tree. (6) to establish inorder threaded binary and achieve the in-order traversal. (8) by means of the queue level traversal of a binary tree. (9) to design a simple menu in the main function, respectively commissioning of the above algorithm.
(2)中序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法。(最好也能实现先序,后序非递归算法)
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)建立中序线索二叉树,并实现中序遍历。
(8)借助队列实现二叉树的层次遍历。
(9)在主函数中设计一个简单的菜单,分别调试上述算法。-(1) Enter the character sequence of binary list. (2) in traversing Binary: recursive algorithm. (3) in traversing Binary: non-recursive algorithm. (Best to achieve the first-order, post-order non-recursive algorithm) (4) Find the height of the binary tree. (5) Find the number of leaves of a binary tree. (6) to establish inorder threaded binary and achieve the in-order traversal. (8) by means of the queue level traversal of a binary tree. (9) to design a simple menu in the main function, respectively commissioning of the above algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
The tree.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.