-
平衡二叉树操作的演示
一、 需求分析
(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
-
Money Pile EA
说明: very good ea!!!!!!!!!!!!!
- 2019-11-12 19:28:08下载
- 积分:1
-
利用蚁群算法对机械臂进行轨迹规划 aunt robot path plan
利用蚁群算法对机械臂进行轨迹规划,其中地图是自己设定好的(Using ant colony algorithm to track the robot arm, in which the map is set by myself)
- 2017-11-09 21:12:31下载
- 积分:1
-
这个做的是模拟银行的ATM截面,很简单的一个小程序,大家参考以下把...
这个做的是模拟银行的ATM截面,很简单的一个小程序,大家参考以下把-do is the bank"s ATM simulation section, a very simple one small procedure, we put reference to the following
- 2022-01-21 05:04:12下载
- 积分:1
-
ADRC_in_Python-master
关于自抗扰控制器ADRC的python程序模型仿真,暂时没有试过。(The Python program model simulation of ADRC has not been tried yet.)
- 2018-11-22 16:17:55下载
- 积分:1
-
APF_PQ
说明: Shunt active power filter by pq method
- 2020-12-05 18:35:19下载
- 积分:1
-
MAX232
max232的pdf资料,可以方便大家制作串口通信时使用-MAX232
- 2022-04-22 10:03:11下载
- 积分:1
-
1
说明: 使用HTML制作简单的网页简历,方便实用。(HTML resume making.You can change the information and make the resume for yourself.)
- 2018-04-16 20:08:50下载
- 积分:1
-
libpcap
说明: linux 上libpcap开发包,可实现类似于tcpdump之类的开发(Libpcap development kit on linux)
- 2020-06-23 19:00:02下载
- 积分:1
-
多核程序设计
对附件data_4_6.txt 中数据进行排序,给出排序运行结果,并输出排在第一位的数字和排在最后一位的数字。(The data in attachment data_4_6. TXT is sorted, and the sorting result is given. The number in the first place and the number in the last place are output.)
- 2018-08-14 17:18:09下载
- 积分:1