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

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

于 2022-03-05 发布 文件大小:40.51 kB
0 338
下载积分: 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 个回复

  • ARITMÉTICA DE 桥脑 FLUTUANTE-PADRÃO IEEE 754
    O presente 》 后透射电镜 por objetivo descrever 科摩 o 作为那里再次遭殴打 aritméticas de 桥脑 flutuante seguindo 作为规定的 computador 态做 padrão IEEE 754。 段 compreender 科摩 é 两 esta conversão apresentaremos o 日托 na linguagem C.
    2022-11-05 12:15:03下载
    积分:1
  • 二进制搜索tree.vcproj
    binary search tree.vcproj -binary search tree.vcprojbinary search tree.vcproj
    2023-03-20 20:55:02下载
    积分:1
  • 异步电动机模型的自适应控制
    Adaptive control of induction motor model
    2023-08-23 13:45:03下载
    积分:1
  • The common multiple calculation algorithm design, from the 1
    算法设计的公倍数计算,从1-n个整数的通用算法。-The common multiple calculation algorithm design, from the 1-n integers a common algorithm.
    2023-01-21 10:50:04下载
    积分:1
  • 直接在内存运行PE
    使用了PE加载技术、Hook技术用程序加载PE文件到内存并运行。当在内存中运行的程序,比如arp.EXE执行完之后就会退出,那结果是ExitProcess被调用,那将是我们主进程也结束,显然我们不希望这样。 处理办法:HOOK ExitProcess。问题来了,对MS的许多控制台程序,它们退出都是调用exit,所以如果HOOK ExitProcess, 那我们俩次在内存中运行arp.EXE之后就会死锁。所以对这类程序而言,不能H OOK ExitProcess,只能HOOK msvcrt!exit。LOADER要加载一个EXE文件,这个EXE文件加载的地址是在0x400000。在我们LOADER的MAIN函数里面,这个地址已经被占用,而你是不能去Free这个地址 重新分布的,这样可能会导致程序崩溃,处理方法相见说明。            
    2022-01-21 18:51:40下载
    积分:1
  • PROVIDES TO USE REPULSIVE PARTICLE SWARM METHOD TO COMPUTE COMPOSITE INDEX
    PROVIDES TO USE REPULSIVE PARTICLE SWARM METHOD TO COMPUTE COMPOSITE INDEX
    2022-01-22 00:02:30下载
    积分:1
  • 解决汉诺塔问题的cpp文件
    解决汉诺塔问题的cpp文件-solve problems cpp file
    2023-07-23 23:30:03下载
    积分:1
  • 易语言开源恶搞软件,出现两选框,但让你的朋友只能点选喜欢你按钮...
    易语言开源恶搞软件,出现两选框,但让你的朋友只能点选喜欢你按钮-Yi language恶搞open source software, there two marquee, but let your friends like you can click the button
    2022-02-02 14:20:54下载
    积分:1
  • CxxTester是一个用于C++代码的通用测试框。它支持测试库系统、有一套方法的对象文件、甚至单行C++源(即所有用C++接口的东西)。解释程序的前端使你能够
    CxxTester是一个用于C++代码的通用测试框。它支持测试库系统、有一套方法的对象文件、甚至单行C++源(即所有用C++接口的东西)。解释程序的前端使你能够在不需要重新编译代码的情况下修改和扩大测试。测试可以通过脚本成批执行或者在图表输出的支持下交互式执行。该工具使不同主机间的远距离测试成为可能。-CxxTester is one for C++ code universal test frame. It supports testing Library System, a set of object files, or even single C++ source (that is, all the C++ interface.) To explain the procedures front so that you do not need to recompile the code under revision and expansion of testing. Test scripts can bulk or in the implementation of the graphics output support interactive implementation. The tool is so different between the mainframe remote testing possible.
    2022-08-17 19:16:31下载
    积分:1
  • 2023-06-20 11:00:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载