登录
首页 » 其他项目 » 平衡二叉树操作的演示 一、 需求分析 (1) 利用平衡二叉树实现动态查找表。实现查找,插入和删除三种基本功能。 (2) 初始,平衡二叉树为空树,操作...

平衡二叉树操作的演示 一、 需求分析 (1) 利用平衡二叉树实现动态查找表。实现查找,插入和删除三种基本功能。 (2) 初始,平衡二叉树为空树,操作...

于 2022-03-05 发布 文件大小:40.51 kB
0 340
下载积分: 2 下载次数: 1

代码说明:

平衡二叉树操作的演示 一、 需求分析 (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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • yaya 留言本
    yaya 留言本-yaya message this
    2022-03-13 08:52:00下载
    积分:1
  • 八数码问题,用c语言实现,有详细的注释!8 digital issues, using c language implementation, contains...
    八数码问题,用c语言实现,有详细的注释!8 digital issues, using c language implementation, contains a detailed comment!-8 digital issues, using c language implementation, contains a detailed comment!
    2022-03-16 08:26:58下载
    积分:1
  • 一个实际应用中的CanBus调试程序,前在航空工业应用良好!可供串口初学者参考...
    一个实际应用中的CanBus调试程序,目前在航空工业应用良好!可供串口初学者参考-a practical application of CanBus debugging procedures in the aviation industry application of good! Serial reference for beginners
    2022-03-25 09:55:22下载
    积分:1
  • 用H无穷控制,对不稳定系统进行鲁棒控制。本人用车载DVD作了仿真试验,效果较好...
    用H无穷控制,对不稳定系统进行鲁棒控制。本人用车载DVD作了仿真试验,效果较好-H infinite control of instability robust control system. I made a car DVD simulation test, the result is better
    2022-03-06 03:07:36下载
    积分:1
  • 反正是好程序,没有说明,大家自己看看,比较简单的。
    反正是好程序,没有说明,大家自己看看,比较简单的。-because it is a good procedure, no, we all look relatively simple.
    2022-02-06 08:55:32下载
    积分:1
  • lcd1602显示遥控键值的计算器
    应用背景基于LCD1602显示遥控键值的计算器,单片机C语言范畴,完整源程序及单片机开发板接线图。keil软件打开。关键技术 通过单片机开发板键盘输入,在LCD1602上显示的计算器(加法)。实验说明:  1.由于按键的个数有限只开通了加法运算 2.a键为“+”运算,b键为“=”  3.只开通了2位数的运算 *  4.按键规则先按下加数再按“+”再被加数再“=”  接线方法:  Jp8连JP4           
    2022-11-29 01:00:03下载
    积分:1
  • 无线局域网仿真
    WLAN仿真-发送机 wlan No Comments 设置完系统参数后,开始产生发送数据。 1. 产生随机的发送bit(tx_bits),这里不考虑信道编码。 2. QAM映射 3. 将数据映射到不同载波,形成OFDM符号 4. 产生pilot,并将pilot插入OFDM符号中 5. 加入dc和guard子载波 6. 进行ifft,将频域信号变到时域,并加入循环前缀 7. 对信号进行overlap window 8. 在时域产生short preamble 9. 在时域产生long preamble 10. 将preamble和数据符号组成packet 11. 升采样 得到信道传输的数据Tx_signal_up 具体程序见附件 wlan_transmitter.m-WLAN Simulation- wlan No Comments transmitter system parameters set finished, the beginning to have to send data. 1. Have sent random bit (tx_bits), here does not consider channel coding. 2. QAM mapping 3. The data is mapped to a different carrier to form OFDM symbols 4. Have a pilot, and pilot inserted OFDM symbols 5. Adding dc and guard subcarriers 6. To carry out ifft, will change the frequency domain signal to time domain, and add cyclic prefix 7. the signals overlap window8. In the time domain have a short preamble9. In the time domain have a long preamble10. the preamble and data symbols packet11. or sampling re
    2022-03-17 11:21:25下载
    积分:1
  • cc++图像处理编程这本书的全部代码。分章节的
    cc++图像处理编程这本书的全部代码。分章节的-All source code of the book:Image processing programming using C and C++,dispart in chapters.
    2022-03-09 15:44:59下载
    积分:1
  • 软件测试案例中的一个经典的雇佣金问题的源码
    软件测试案例中的一个经典的雇佣金问题的源码-Software test case in a classic source of payments problems
    2022-01-30 15:17:57下载
    积分:1
  • 我搜集的C 语言教程
    我搜集的C 语言教程 -I collected the C Language Guide
    2022-12-16 02:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载