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

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

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

  • VHDL语言设计的出租车计费系统,他们的指导下完成…
    VHDL语言设计的出租车计费系统,在老师的指导下完成的,并在实验箱上测试通过。-VHDL language design taxi billing system, completed under the guidance of their teachers, and the experiment on the test box.
    2023-07-08 20:35:02下载
    积分:1
  • Top99
    This is a modified version of the 99 line Matlab codes for topology optimization. The physical field is set to be temperature fleids. The problem to solve is the classical volume to line heat transfer problem, as well as the problem of the heat dissipation of flat surface by a pipe.
    2022-07-27 20:37:57下载
    积分:1
  • VC++控制Word制作报表,希望对大家有帮助!
    VC++控制Word制作报表,希望对大家有帮助!-VC++ Control Word production reports, we want to help!
    2022-03-04 18:09:36下载
    积分:1
  • Guided visualization with smart assembly language integrated development environ...
    支持智能指导的可视化汇编语言集成开发环境,实现了汇编语言在Windows下的可视化开发。该平台主要包括以下两部分。 (1)可视化汇编语言集成开发。具体包括:① 系统集成:将编译、连接、运行和调试等分立的DOS程序集中到统一的WINDOWS程序环境中,通过点击鼠标就可以实现汇编的全部操作。② 信息提示兼顾中英文,操作界面全部中文化。通过选项的设置,编译信息、链接信息以及错误的提示信息既可以采用中文,也可以采用英文,还可以使用中英文对照。③ 人性化界面:关键词、语法高亮显示,可根据个人喜好定制指令、寄存器、操作符、注释及数字语法着色;可以定制智能缩排;可定制指令、寄存器、操作符大小写自动切换。 (2)智能上机辅导。具体包括:① 汇编语言程序框架的主动生成:可以通过向导自动地构建完整的多种返回方式的汇编语言程序框架,简化汇编语言程序设计,明确汇编的程序结构,帮助学生建立起汇编语言的框架概念,减少出错率,培养学生良好的编程习惯。② 出错代码的自动定位:根据编译时的错误信息,自动定位到出错代码行,并给出中英文出错提示。③ 对错误修改的智能提示:对于学生编程时发生的错误能做出智能判断,并提供相应的个性化的指导。 -Guided visualization with smart assembly language integrated development environment to achieve the compilation of languages in Windows, visual development. The platform includes the following two parts. (1) visual assembly language integrated development. Specifically include: ① System Integration: The compile, link, run and debug DOS programs such as the separation of concentrated WINDOWS unified program environment can be achieved by clicking the mouse on the compilation of
    2022-02-15 08:05:59下载
    积分:1
  • 学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软 件等方式使用软件的,!...
    学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软 件等方式使用软件的,! -Study and research includes the design of software ideas and principles, through the installation, display, transmission or storage software, such as the use of software,!
    2022-07-13 14:45:40下载
    积分:1
  • 往ibm sametime发送即时消息的java代码
    往ibm sametime发送即时消息的java代码-send mes to ibm sametime
    2022-01-26 00:13:34下载
    积分:1
  • C语言编写的,利用线性插值发进行网格值插值运算,等价于从新定义数组大小。...
    C语言编写的,利用线性插值发进行网格值插值运算,等价于从新定义数组大小。-prepared by the C language, using linear interpolation for the value interpolation grid operator, is equivalent to the new definition of array size.
    2022-02-07 15:51:13下载
    积分:1
  • 《自适应滤波器》附带的matlab源码,需要者可下
    《自适应滤波器》附带的matlab源码,需要者可下-Adaptive filter, matlab source
    2022-04-11 21:17:28下载
    积分:1
  • gathered with a group and the elimination of noise, the weighing
    收集的一组跟噪声产生以及消除、衡量消噪性能指标的MATLAB仿真源代码,每个文件夹下都附有对该代码的注解!-gathered with a group and the elimination of noise, the weighing-noise performance indicators MATLAB simulation source code, Each folder with all of this code notes!
    2022-01-25 19:48:38下载
    积分:1
  • 在UNIX 下的C 原代码.查UNIX 下的系统时间。并取得时间的函数.
    在UNIX 下的C 原代码.查UNIX 下的系统时间。并取得时间的函数.-under UNIX C source code. Investigation under the UNIX system time. And achieved a function of time.
    2022-09-12 07:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载