-
平衡二叉树操作的演示
一、 需求分析
(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
-
java版本的MSN,供大家交流学习使用
java版本的MSN,供大家交流学习使用-java version of MSN, for the exchange of everyone learning to use
- 2022-08-18 09:22:35下载
- 积分:1
-
例如RS232通讯RS232
RS232 Example for RS232 communication
- 2022-12-18 14:00:03下载
- 积分:1
-
使用Visual C++代码基于交通咨询哈夫曼源有限公司准备
用Visual C++编写的基于Haffman编码的交通咨询源码,直接打开工程文件即可-Prepared using Visual C++ code based on the Transport Advisory Haffman source code, open the project file can be directly
- 2022-07-15 18:49:37下载
- 积分:1
-
此程序完成全排列问题,大家可以讨论学习。
此程序完成全排列问题,大家可以讨论学习。-this with the whole procedure is completed, we can discuss learning.
- 2022-03-24 23:49:24下载
- 积分:1
-
It is written in C# using a de
这是一个用C#编写的扫雷小游戏,源码就在里面,对C#游戏开发有一定启发-It is written in C# using a de-mining game source code on the inside of C# game development have a certain inspiration
- 2022-04-18 07:43:59下载
- 积分:1
-
系统监视器,可以实时监视正在运行的程序,并关闭他
系统监视器,可以实时监视正在运行的程序,并关闭他-system monitors, in real time surveillance programs you are running, and he closed
- 2022-10-07 18:20:08下载
- 积分:1
-
最好的汇编语言开发工具,优化代码生成
最好的汇编语言开发工具,优化代码生成...
最好的汇编语言开发工具,优化代码生成
最好的汇编语言开发工具,优化代码生成-Best assembly language development tools, optimization of code generation the best assembly language development tools, optimization of code generation
- 2022-03-18 03:08:52下载
- 积分:1
-
一个小学生常玩的游戏,算24点,VB实现
本程序已经作出了个很好的游戏界面。...
一个小学生常玩的游戏,算24点,VB实现
本程序已经作出了个很好的游戏界面。-one of the students often play games, counting 24 points, VB of the procedures have already made a very good game interface.
- 2022-01-25 22:20:50下载
- 积分:1
-
28sf040a
28sf040a
- 2022-07-24 06:21:27下载
- 积分:1