-
平衡二叉树操作的演示
一、 需求分析
(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
-
spi串口的内核实现.rar
spi串口的内核实现.rar-20 serial kernel to achieve. Rar
- 2022-08-05 11:44:13下载
- 积分:1
-
C51 menu programming examples, I hope everyone can use.
c51 菜单编程的例子,希望大家能够用到.-C51 menu programming examples, I hope everyone can use.
- 2022-09-24 03:55:03下载
- 积分:1
-
一个小的应用程序,在一个游戏中,用户随机选择四张牌,使用T。
一java的小应用程序,在游戏中,用户随意抽出四张扑克牌,用加减乘除的方法将它们连接起来,使得结果等于24。-a small application, in a game in which users randomly picked four cards using the arithmetic method of connecting them, making the results mean 24.
- 2022-04-20 18:37:26下载
- 积分:1
-
classic design of the data structure with very magnificent physical effects of t...
经典的结构设计资料
配合很美观的实物效果图加以说明-classic design of the data structure with very magnificent physical effects of the map to illustrate
- 2022-08-17 01:46:07下载
- 积分:1
-
visualc++6.0开发,基于MFC的单机版俄罗斯方块游戏
visualc++6.0开发,基于MFC的单机版俄罗斯方块游戏-visualc++6.0 development, MFC-based stand-alone version of Tetris game
- 2022-12-22 00:45:02下载
- 积分:1
-
Simulation of an algae in Java
Simulation of an algae in Java
- 2022-10-01 00:05:03下载
- 积分:1
-
vc game series, it is worth about fun. Intron map.
vc编的小游戏,很好玩的值得一下。内含地图。-vc game series, it is worth about fun. Intron map.
- 2022-01-25 20:51:44下载
- 积分:1
-
simple password input box si mple password input box si mple password input box...
简单密码输入框
简单密码输入框
-simple password input box si mple password input box si mple password input box SR single password input box
- 2022-01-26 07:37:24下载
- 积分:1
-
代码模版 codtemplate
代码模版 codtemplate-code templates codtemplate
- 2023-06-11 09:15:02下载
- 积分:1