文件名称:pinghengerchashu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:439.85kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用二叉链表作存储结构
(1)以回车(‘\n’)为输入结束标志,输入数列L,分别生成一棵二叉排序树T和平衡的二叉排序树BT ;
(2)对二叉排序树T作中序遍历,输出结果;
(3)输入元素x,查找二叉排序树T:若存在含x的结点,则删除该 结点,并作中序遍历(执行操作2);否则输出相关信息;
(4)分别计算T、BT的查找成功的平均查找长度,输出结果;
-List for storage with the two fork structures (a) to carriage return ( ' \ n' ) for the input end of the symbol, enter the number of columns L, respectively, generating a binary sort tree T and balanced binary sort tree BT (2) right two binary sort tree T in order to make traversal, the output results (3) input element x, to find two binary sort tree T: if there exists node containing x, then delete the node, and for medium-order traversal (to perform operations 2 ) otherwise, the output-related information (4) were calculated T, BT Find the average successful search length, the output results
(1)以回车(‘\n’)为输入结束标志,输入数列L,分别生成一棵二叉排序树T和平衡的二叉排序树BT ;
(2)对二叉排序树T作中序遍历,输出结果;
(3)输入元素x,查找二叉排序树T:若存在含x的结点,则删除该 结点,并作中序遍历(执行操作2);否则输出相关信息;
(4)分别计算T、BT的查找成功的平均查找长度,输出结果;
-List for storage with the two fork structures (a) to carriage return ( ' \ n' ) for the input end of the symbol, enter the number of columns L, respectively, generating a binary sort tree T and balanced binary sort tree BT (2) right two binary sort tree T in order to make traversal, the output results (3) input element x, to find two binary sort tree T: if there exists node containing x, then delete the node, and for medium-order traversal (to perform operations 2 ) otherwise, the output-related information (4) were calculated T, BT Find the average successful search length, the output results
(系统自动生成,下载前可以参看下载内容)
下载文件列表
平衡二叉树/avl.c
平衡二叉树/BT1.c
平衡二叉树/BT2.c
平衡二叉树/BT3.C
平衡二叉树/BT4.C
平衡二叉树/BT5.C
平衡二叉树/BT6.C
平衡二叉树/BT7.C
平衡二叉树/BT8.C
平衡二叉树/复件 BT7.C
平衡二叉树/复件BT~1.C
平衡二叉树/平衡二叉树.C
平衡二叉树/平衡二叉树.doc
平衡二叉树/平衡二叉树.EXE
平衡二叉树/排序.doc
平衡二叉树/测试必读.txt
平衡二叉树
平衡二叉树/BT1.c
平衡二叉树/BT2.c
平衡二叉树/BT3.C
平衡二叉树/BT4.C
平衡二叉树/BT5.C
平衡二叉树/BT6.C
平衡二叉树/BT7.C
平衡二叉树/BT8.C
平衡二叉树/复件 BT7.C
平衡二叉树/复件BT~1.C
平衡二叉树/平衡二叉树.C
平衡二叉树/平衡二叉树.doc
平衡二叉树/平衡二叉树.EXE
平衡二叉树/排序.doc
平衡二叉树/测试必读.txt
平衡二叉树
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.