-
平衡二叉树操作的演示
一、 需求分析
(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
-
Prepared using opengl game tutorials
用opengl编写游戏教程-Prepared using opengl game tutorials
- 2022-08-04 05:16:18下载
- 积分:1
-
viewing game prompted viewing may select persons ease
猜数字游戏 根据提示猜数字,可以选者难易程度-viewing game prompted viewing may select persons ease
- 2022-10-18 17:40:03下载
- 积分:1
-
基于python实现的青蛙过河游戏
使用python实现青蛙过河,在程序中调用button与graphics模块,将每个青蛙包装为一个模块,点击后可以判断跳动方向并向左或右移动、以及根据边上青蛙的个数自行判断决定是否越过一只青蛙,当最终所有青蛙成功调换位置后,显示“success”,另外,利用stack实现可后悔之前步骤。
- 2022-06-30 16:35:30下载
- 积分:1
-
通过串口将TXT文件中的数据读取出来,并显示波形
通过串口将TXT文件中的数据读取出来,并显示波形-Through the serial port data in the TXT file to read out and display the waveform
- 2022-02-04 03:18:40下载
- 积分:1
-
重载+=为字符串的连接
重载+=为字符串的连接-Heavy+ = connected to a string of
- 2022-03-02 13:53:47下载
- 积分:1
-
KS0108液晶显示控制器。
for ks0108 LCD Controller
- 2023-03-30 05:00:03下载
- 积分:1
-
Matlab图形图像处理函数详细列表 Matlab图形图像处理函数详细列表...
Matlab图形图像处理函数详细列表 Matlab图形图像处理函数详细列表-Matlab graphics image processing functions in detail a list of Matlab graphics image processing function of a detailed list of Matlab graphics image processing function of a detailed list of
- 2023-01-03 05:55:04下载
- 积分:1
-
Newton插值多项式,这里才用6组数据进行测试.每步详细记录计算过程...
Newton插值多项式,这里才用6组数据进行测试.每步详细记录计算过程-Newton interpolation polynomial, here only six sets of data used for testing. Detailed records of each step calculation process
- 2023-06-16 06:15:03下载
- 积分:1
-
这个脚本的目的是作为一个单独的脚本,可以很容易地集成…
This script was designed as a stand alone script which can be easily intergrate into any existing website as it is,but if you want to intergrate it into a site which uses a content management format, then some alterations will have to be done for
it to work properly. Remember this is a project and I am constantly working to improve it, so I can t guarantee that
it will work for everyones needs, but dammmmd close. -This script was designed as a stand alone script which can be easily intergrate into any existing website as it is, but if you want to intergrate it into a site which uses a content management format, then some alterations will have to be done forit to work properly. Remember this is a project and I am constantly working to improve it, so I can t guarantee thatit will work for everyones needs, but dammmmd close.
- 2023-06-13 06:40:03下载
- 积分:1