-
数 据 结 构 大型 作业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
-
this is water jug problem in c++
this water jug problem in c-this is water jug problem in c++
- 2022-05-16 14:44:23下载
- 积分:1
-
mapreduce的工具软件。来源为ibm 的技术论坛。
mapreduce的工具软件。来源为ibm 的技术论坛。-mapreduce software tools. Source for ibm technical forum.
- 2022-03-11 17:05:11下载
- 积分:1
-
仓库管理
仓储在企业的整个供应链中起着至关重要的作用,如果不能保证正确的进货和库存控制及发货,将会导致管理费用的增加,服务质量难以得到保证,从而影响企业的竞争力。传统简单、静态的仓储管理已无法保证企业各种资源的高效利用。如今的仓库作业和库存控制作业已十分复杂化多样化,仅靠人工记忆和手工录入,不但费时费力,而且容易出错,给企业带来巨大损失。
- 2022-11-07 19:30:03下载
- 积分:1
-
算法是一种字符串匹配算法!源代码介绍…
bm算法是串的一种匹配算法!本源代码介绍了bm算法的c实现。-bm algorithm is a string matching algorithm! Source code introduced bm Algorithm c achieve.
- 2023-05-22 10:20:03下载
- 积分:1
-
一个关于公式分析得java小程序,内含全部源代码和接口的详细使用说明,对于学习数据结构的朋友来说,有一定的研究价值。...
一个关于公式分析得java小程序,内含全部源代码和接口的详细使用说明,对于学习数据结构的朋友来说,有一定的研究价值。-on a formula of good things java small program that contains all the source code and interface use the detailed, data for studying the structure of a friend, a certain value for research.
- 2023-06-25 14:35:04下载
- 积分:1
-
本代码经过验证,绝对可以运行,并附有解析,对初学者有很大帮助...
本代码经过验证,绝对可以运行,并附有解析,对初学者有很大帮助-Verified the code and it can definitely run with a resolution, has great help for beginners
- 2022-08-08 00:09:26下载
- 积分:1
-
约瑟夫环的循环链表实现,这个程序比较完整,有需要做试验的请速速下载。...
约瑟夫环的循环链表实现,这个程序比较完整,有需要做试验的请速速下载。-Josephus cycle Chain achieved, the procedure is complete, the pilot needs to be done urgently requested to download.
- 2023-03-16 10:25:03下载
- 积分:1
-
循环吗的C语言实现
循环吗的C语言实现-cycle? C Language
- 2023-06-04 21:45:03下载
- 积分:1
-
sqlite 3.3.8 supports encrypted version
sqlite 3.3.8 支持加密的版本-sqlite 3.3.8 supports encrypted version
- 2022-02-06 02:30:15下载
- 积分:1