-
平衡二叉树操作的演示
一、 需求分析
(1) 利用平衡二叉树实现动态查找表。实现查找,插入和删除三种基本功能。
(2) 初始,平衡二叉树为空树,操作...
平衡二叉树操作的演示
一、 需求分析
(1) 利用平衡二叉树实现动态查找表。实现查找,插入和删除三种基本功能。
(2) 初始,平衡二叉树为空树,操作界面给出查找,插入和删除三种操供选择。每种操作均要提示输入关键字。每次插入和删除一个接点时,显示更新的平衡二叉树。
(3) 重点在于对删除算法的实现。假设要删除的关键字为X的结点,若X不在叶子结点上,则用左子树中的最大值或者右子树中的最小值取代X。如此反复,直到删除动作传递到某个叶子结点,删除叶子结点时,若要进行平衡变换,可采用插入的平衡变换反变换。
-balanced binary tree operation of a demonstration, demand analysis (1) using a balanced binary tree dynamic lookup table. Lookup, insertion and deletion of the three basic functions. (2) The initial, balanced binary tree is empty tree interface gives you insert and delete options for the three parade. Each operation will have to be me to input keywords. Each insert and delete a contact in that update balanced binary tree. (3), the focus is on the deletion algorithm. To remove the assumption that the keyword for the X-Node, if X is not the leaf nodes, Left-used for the highest tree or right-tree to replace the minimum X. So repeatedly, until the deletion of a transfer leaf nodes, delete the leaf nodes, if balancing transform, Ins
- 2022-03-05 06:54:53下载
- 积分:1
-
process
interspire email marketer 6.2
- 2019-03-12 14:58:10下载
- 积分:1
-
选址定容
用于加入分布式电源的电力系统选址定容,方便实用。(It is convenient and practical for locating and sizing power system with distributed generation.)
- 2020-10-03 15:07:40下载
- 积分:1
-
ScienceDirect_articles_17Apr2019_14-26-20.771
fault modeling of induction motor
- 2019-04-24 18:09:40下载
- 积分:1
-
frmManage.designer
drawing program using c#
- 2020-06-25 01:00:01下载
- 积分:1
-
随机有限元程序及算例,有学习价值,用FORTRAN语言写的
随机有限元程序及算例,有学习价值,用FORTRAN语言写的-Stochastic finite element program and example, have learning value, written in FORTRAN language
- 2023-04-07 05:50:04下载
- 积分:1
-
Desktop
opengl入门练习题,有详细说明
实验1 实验环境的熟悉(2)
实验2 OpenGl中图形的绘制(4)
实验3 基本图元绘制(6)(Introductory exercises)
- 2019-06-14 15:54:56下载
- 积分:1
-
Calculator
計算機,可以自行延伸,很簡單的寫法,希望可以幫助有需要的人(Computer, you can extend its own, very simple wording, I hope to help people in need)
- 2013-08-23 23:14:55下载
- 积分:1
-
VC++演示如何实现ODBC异步调用
VC++演示如何实现ODBC异步调用,好像比较高级的数据库编程技巧,其实实现方法并不复杂,而且异步调用ODBC还可以解决很多普通模式下不能解决的问题。
- 2022-06-19 17:51:00下载
- 积分:1
-
ieee14
基于matlab的电力系统IEEE14节点潮流计算,希望对大家有帮助(Matlab-based power system IEEE14 node flow calculation, we hope to help)
- 2021-03-09 19:39:27下载
- 积分:1