-
数 据 结 构 大型 作业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++语言描述
机械工业出版社,完全非扫描高清版
配有答案和程序-Data structures algorithms and application of C++ Language description of Machinery Industry Press, completely non-scanning high-definition version with the answer and procedures
- 2022-01-21 19:59:49下载
- 积分:1
-
minimum spanning tree algorithm is the prim map for the shortest path algorithm...
最小生成树的prim算法
是求图中的最短路径的一个重要算法
但是是O(n2)复杂度的一个算法-minimum spanning tree algorithm is the prim map for the shortest path algorithm of an important but is O (n2) of a complex algorithm
- 2023-06-14 21:55:07下载
- 积分:1
-
离散点插值程序,采用的是cressman客观插值原理
离散点插值程序,采用的是cressman客观插值原理-discrete points interpolation procedure, the objective is cressman interpolation Principle
- 2022-03-23 15:55:46下载
- 积分:1
-
数据结构、算法 矩阵运算程序
数据结构、算法 矩阵运算程序-data structure, algorithm matrix calculation procedures
- 2023-08-12 06:55:02下载
- 积分:1
-
Maze with the Games, has a wealth of examples and test data, data structure to l...
迷宫问题与运动会,有丰富的实例与测试数据,是学习数据结构的较好的资料!-Maze with the Games, has a wealth of examples and test data, data structure to learn the information better!
- 2022-10-01 08:00:03下载
- 积分:1
-
数据结构算法大全,包含最短路径,最小生成树,凸包,各种排序,四种高精度运算,图论上的常用算法,以及树的各种算法...
数据结构算法大全,包含最短路径,最小生成树,凸包,各种排序,四种高精度运算,图论上的常用算法,以及树的各种算法-data structure ,if you want to learn it
well, you need it,I think!
- 2022-07-12 00:15:14下载
- 积分:1
-
java通过ODBC JDBC桥完成数据库的操作简单代码
java通过ODBC JDBC桥完成数据库的操作简单代码-java through ODBC database JDBC Bridge completed the simple code
- 2022-01-28 01:55:48下载
- 积分:1
-
在数据结构中编程实现表达式求值算法(加减乘除)
在数据结构中编程实现表达式求值算法(加减乘除)-Structure in the data evaluated the expression programming algorithm (calculation)
- 2022-07-13 14:31:46下载
- 积分:1
-
算法书籍
算法书籍---一本很好的算法书,希望大家喜欢-Algorithm
- 2023-03-31 21:15:04下载
- 积分:1