-
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果...
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
- 2022-04-09 01:41:30下载
- 积分:1
-
使用JFREECHART组件 读取数据库数据,生成柱状图,
使用JFREECHART组件 读取数据库数据,生成柱状图,-JfreeChart components used to read database data to generate histogram,
- 2022-04-18 18:10:39下载
- 积分:1
-
科研管理系统是用PoerBuilder编写
科研管理系统是用PoerBuilder编写-research management system is used to prepare PoerBuilder
- 2022-01-31 18:53:28下载
- 积分:1
-
层次的非递归算法
层次的非递归算法-level of non- recursive algorithm
- 2022-12-16 09:10:03下载
- 积分:1
-
algorithm, foaming, selection, sculpture, a certain reference value.
算法,发泡,选择,雕刻,有一定的参考价值。
- 2022-04-08 12:58:45下载
- 积分:1
-
sqlite加密版本
sqlite官方并没有提供加密的功能,但提供了加密的接口。资源中的sqlite添加了加密功能。本加密算法采用XXTEA。如果使用Delphi连接此数据库,建议使用itwriting提供的sqlite wrapper改装版;资源包含有源代码以及编译成功的dll(编译工具:VC++ 2010。)各位可以下载后自行根据源码重新编译。
- 2022-01-25 18:47:58下载
- 积分:1
-
这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高...
这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?加上一个小界面-This is a solution to the partition cutting parts : a given width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum? A small interface
- 2022-06-11 21:05:53下载
- 积分:1
-
图书馆管理系统,功能有对图书进行管理,人员管理,用户管理,借还书管理,信用情况管理等...
图书馆管理系统,功能有对图书进行管理,人员管理,用户管理,借还书管理,信用情况管理等-library management system, a function of library management, personnel management, user management, through book management, credit management, etc.
- 2022-02-19 21:59:34下载
- 积分:1
-
系统说明:这是一个应用数据库系统VFP开发的酒店管理系统.
系统说明:这是一个应用数据库系统VFP开发的酒店管理系统.-system Note : This application is a database system developed by VFP hotel management system.
- 2022-08-18 03:38:43下载
- 积分:1
-
数据结构代码,很好的资料
数据结构代码,挺好的资料,共享下,这个网站变态-Data structure code, very good information-sharing, this site metamorphosis
- 2023-06-24 19:25:02下载
- 积分:1