-
平衡二叉树操作的演示
一、 需求分析
(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
-
间接磁场定向控制器-indirectfoc.mdl
说明: indirect field oriented controller
- 2020-06-22 12:20:02下载
- 积分:1
-
求两个序列的相关关系的fortan程序
求两个序列的相关关系的fortan程序 -For the correlation between the two sequences of fortan procedures
- 2022-05-29 16:24:54下载
- 积分:1
-
EA编写教程
ea编写教程,初学者可以看看学习。内含初级和中级教程(EA writing tutorials, beginners can look at the study. A primary and intermediate course)
- 2020-06-30 17:40:01下载
- 积分:1
-
EEE
MATLAB中Simulink 的方向阻抗继电器的电路仿真,设置不同的过渡电阻进行仿真(Circuit simulation of Simulink directional impedance relay in MATLAB, setting different transition resistors for simulation)
- 2019-06-18 14:31:15下载
- 积分:1
-
MASM
简易汇编软件,项目专用,非常实用。欢迎下载(Simple shopping cart, project-specific, very practical. Welcome to download)
- 2019-01-08 09:23:14下载
- 积分:1
-
择城市代码
jQuery工作地点选择城市代码基于jquery-1.5.1.min.js制作,点击请选择城市按钮,弹出城市列表窗口,点击城市名称可以选择添加。(JQuery Workplace Selection City Code is based on jquery-1.5.1.min.js. Click the city button, pop up the city list window, and click the city name to add.)
- 2019-04-02 18:49:09下载
- 积分:1
-
Optimal-Power-Flow
说明: 分布式电源接入电网进行潮流计算,可以运行(Distributed generators are connected to the power grid for power flow calculation and can be operated.)
- 2021-03-06 16:39:30下载
- 积分:1
-
电气火灾探测器
使用430单片机,iar环境。二总线、低功耗、漏电检测(msp430 Leak Currunt Check)
- 2020-12-01 08:59:26下载
- 积分:1
-
you look at the good things new
大家看看,好东西很新-you look at the good things new
- 2022-01-26 03:34:11下载
- 积分:1