-
数 据 结 构 大型 作业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
-
Realize stack code, realize all the features of the stack, PUSH, POP, insertion,...
堆栈的实现代码,实现了栈的所有功能,PUSH,POP,插入,销毁,清空等,有调试程序,可以很清楚的看到栈的运行过程-Realize stack code, realize all the features of the stack, PUSH, POP, insertion, destruction, empty and so on, have a debugger, you can clearly see the operation of the process stack
- 2022-03-25 07:40:01下载
- 积分:1
-
pb做出的outlook界面框架,可以直接用在管理信息系统中来使用.
pb做出的outlook界面框架,可以直接用在管理信息系统中来使用.-pb"s outlook interface framework, can be directly used in the management information systems to use it.
- 2022-11-12 22:00:03下载
- 积分:1
-
考研数据结构辅导材料,包含6章(.ppt文档)
考研数据结构辅导材料,包含6章(.ppt文档)-taking tests guidance material contained in Chapter 6 (. Ppt files)
- 2023-02-07 09:20:03下载
- 积分:1
-
用链表建立堆栈的简单代码,没有做很多的排错处理,只是了解了解堆栈的实现方式...
用链表建立堆栈的简单代码,没有做很多的排错处理,只是了解了解堆栈的实现方式
- 2022-08-18 06:10:02下载
- 积分:1
-
一个用vc写的贸易公司管理系统
一个用vc写的贸易公司管理系统-vc write with a trading company in a management system
- 2022-03-22 22:29:04下载
- 积分:1
-
VC做的社区住房管理系统!
VC做的社区住房管理系统!-VC community housing management system.
- 2023-06-16 23:35:03下载
- 积分:1
-
数据结构常用算法:图的最小生成树
经典算法:图的最小生成树...
数据结构常用算法:图的最小生成树
经典算法:图的最小生成树-algorithm commonly used data structures : Figure the minimum spanning tree algorithm classic : Figure the minimum spanning tree
- 2022-02-20 18:57:12下载
- 积分:1
-
插入运算符算法,123456789=a,在等式左边的任意两个数字之间插入 +...
插入运算符算法,123456789=a,在等式左边的任意两个数字之间插入 + - *使得等式成立,列出满足条件的所有结果-Insert operator algorithm, 123456789 = a, the left side of the equation inserted between any two figures+-* Make the equation set up, listing all of the results meet the conditions
- 2022-03-01 08:33:25下载
- 积分:1
-
online admissions system
这是一个大学录取系统,负责一所大学的录取工作asp.net使用mssql 2005后端数据库。提前欢迎
- 2023-04-06 04:35:03下载
- 积分:1