文件名称:erchashu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.03kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1 编写采用二叉链表形式存储的二叉树的创建、先序、中序、后序和按层遍历的算法。
2 编写将一棵二叉树的所有左右子树进行交换的算法。
提示:验证是否交换可以调用二叉树的遍历算法,比较输出结点序列。
3 编写一个主函数,将上面函数连在一起,构成一个完整的程序。
4 调试并运行实验源程序。
-Prepared using a binary list stored in binary form of the creation, the first sequence, the sequence, after the order and by level traversal algorithms. 2 the preparation of a binary tree will be all about the exchange of sub-tree algorithms. Tip: Verify that the exchange can be called binary tree traversal algorithm to compare the output node sequence. 3 write a main function, the above functions together to form a complete program. 4 debug and run experiments source.
2 编写将一棵二叉树的所有左右子树进行交换的算法。
提示:验证是否交换可以调用二叉树的遍历算法,比较输出结点序列。
3 编写一个主函数,将上面函数连在一起,构成一个完整的程序。
4 调试并运行实验源程序。
-Prepared using a binary list stored in binary form of the creation, the first sequence, the sequence, after the order and by level traversal algorithms. 2 the preparation of a binary tree will be all about the exchange of sub-tree algorithms. Tip: Verify that the exchange can be called binary tree traversal algorithm to compare the output node sequence. 3 write a main function, the above functions together to form a complete program. 4 debug and run experiments source.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
二叉树.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.