-
数 据 结 构 大型 作业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
-
货郎担限界算法 c语言
货郎担限界算法 c语言-traveling salesman Bound algorithm language c
- 2022-03-25 05:41:55下载
- 积分:1
-
ACCESS数据库的压缩,备份,还原,下载,删除的实现
ACCESS数据库的压缩,备份,还原,下载,删除的实现-no
- 2023-03-20 02:10:03下载
- 积分:1
-
输入人数,输入将要分配的工作数目,输入第i人干第j项工作的经费消耗,调用处理模块BackTracking输出最优分配方案。...
输入人数,输入将要分配的工作数目,输入第i人干第j项工作的经费消耗,调用处理模块BackTracking输出最优分配方案。-Enter the number, type of job distribution to the number of people do i enter the first section of the work of j-expendable funds, call processing module output BackTracking optimal distribution program.
- 2022-07-09 07:20:02下载
- 积分:1
-
模式识别matlab工具箱,包括SVM,ICA,PCA,NN等等模式识别算法,很有参考价值...
模式识别matlab工具箱,包括SVM,ICA,PCA,NN等等模式识别算法,很有参考价值-pattern recognition Matlab toolbox, including SVM, ICA, PCA, NN pattern recognition algorithms, and so on, of great reference value
- 2022-06-18 16:50:03下载
- 积分:1
-
数据结构中的最短路径的查询,适合初学数据结构的学生使用...
数据结构中的最短路径的查询,适合初学数据结构的学生使用-failed to translate
- 2022-02-21 13:05:31下载
- 积分:1
-
c++实现的程序,真正实现查询,最短路径
c++实现的程序,真正实现查询,最短路径-c achieve the procedure, the actual realization of inquiries, the shortest path
- 2022-02-10 12:50:21下载
- 积分:1
-
使用ODBC封装的CDatabase和CRecordset类
使用ODBC封装的CDatabase和CRecordset类- Uses CDatabase and CRecordset kind which ODBC seals
- 2022-08-15 06:18:07下载
- 积分:1
-
loginpageusing c#.net
在visual studio 2010中使用c#.net登录页面,使用microsoft sql server 2008连接,连接字符串位于应用程序代码中,sql server数据位于live链接中。该代码已被用于用户登录使用多个设置,如管理员用户,最终用户等。,
- 2022-11-20 11:55:04下载
- 积分:1
-
数据结构双链表的 例子
数据结构双链表的 例子-data structure-Chain example
- 2023-01-31 21:10:03下载
- 积分:1