文件名称:bitreezonghe
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.87kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/*综合性试验(排序二叉树)
1.建立一棵排序二叉树(随机产生1000个0~999的数)
2.前、中、反中序遍历
3.统计叶子数、结点数、深度
4.查找、插入、删除
5.求最大、最小值
6.求查找的次数n1,与二分查找作比较(n1>n2,二叉树不均衡)
7.排序算法与中序遍历的效率比较
*8.将上述各步的结果写入文件(result.txt)-/* Test (sort of binary tree)
(1) to establish a sort binary tree (randomly generated 1000 the number of 0 to 999)
, Anti-inorder traversal 2.
Statistics leaf number, number of nodes, depth
Find, insert, delete
Find the maximum and minimum values
Seek to find the number n1, and the binary search (n1> n2, the binary tree is not balanced)
The efficiency of sorting algorithms and in-order traversal
* 8. The results of the above steps to write to a file (result.txt)
1.建立一棵排序二叉树(随机产生1000个0~999的数)
2.前、中、反中序遍历
3.统计叶子数、结点数、深度
4.查找、插入、删除
5.求最大、最小值
6.求查找的次数n1,与二分查找作比较(n1>n2,二叉树不均衡)
7.排序算法与中序遍历的效率比较
*8.将上述各步的结果写入文件(result.txt)-/* Test (sort of binary tree)
(1) to establish a sort binary tree (randomly generated 1000 the number of 0 to 999)
, Anti-inorder traversal 2.
Statistics leaf number, number of nodes, depth
Find, insert, delete
Find the maximum and minimum values
Seek to find the number n1, and the binary search (n1> n2, the binary tree is not balanced)
The efficiency of sorting algorithms and in-order traversal
* 8. The results of the above steps to write to a file (result.txt)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zonghe.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.