登录
首页 » 数据结构 » 红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#def...

红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#def...

于 2022-06-11 发布 文件大小:53.39 kB
0 152
下载积分: 2 下载次数: 1

代码说明:

红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#define NUM 10 ,改成相应关键值各个数输出:按照先序输出红黑树,格式为:根节点。颜色(左子树。颜色,右子树。颜色),并输出此 树的黑高度,然后输入要删除的关键值,按回车后输出删除后的结果,并输出其高度。-RED-BLACK TREE : Admission : in the same directory under the file input redblacktree.txt greater than 0 10 digits each intermediate numerical grid with open spaces can be greater than the number 10, but requested change in the source# define NUM 10, the corresponding critical value into several different output : In accordance with the first sequence RED-BLACK TREE output format : nodes. Color (left subtree. Color, right subtrees. Color), and export of the black tree height and then delete the key to value, according to enter the output was the result of the deletion, and its high output.

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

发表评论

0 个回复

  • delphi控件 一般开发人员都用,使用的库控件
    delphi控件 一般开发人员都用,使用的数据库控件-general controls delphi developers are using the database control
    2022-03-19 19:16:02下载
    积分:1
  • 检验SQL语法正确性
    检验SQL语法正确性-test SQL syntax correctness
    2022-11-13 00:55:03下载
    积分:1
  • This is a materials management system, some errors, but also please correct!
    这是一个物资管理系统,有些错误,还请大家更正!-This is a materials management system, some errors, but also please correct!
    2022-02-01 20:09:58下载
    积分:1
  • :有关树所有操作
    数据结构:有关树所有操作- Construction of data: The related tree all operates
    2023-08-09 05:05:03下载
    积分:1
  • Pre
    前k条最短路径(KSP)算法在国内鲜有研究,本压缩包中文献整合了自1971年此问题被提出后几十年来的论文共25篇。 其中以Martin先生的删除(Delelte)算法与Yen先生的背离(Devation)算法为主。 其中所有文献均来自网络。含有两篇中文文章以及23篇英文文章。 算法的复杂度基本控制于O(logn)内-Pre-k shortest paths (KSP) algorithm in the domestic few studies in the literature in this compressed package integration since 1971, this issue has been moved for several decades a total of 25 papers. Among them, Mr. Martin removed (Delelte) algorithm and Mr. Yen departure (Devation) algorithm is based. In which all documents are from the network. Contains two Chinese articles and 23 articles in English. The complexity of basic control algorithms in O (logn) in
    2023-01-02 04:10:18下载
    积分:1
  • VB6 and ActiveX
    2022-01-28 03:37:05下载
    积分:1
  • 纯C写的48位软件模拟浮点运算,可移植 测试版,V0.0000.01 需进一步测试及优化...
    纯C写的48位软件模拟浮点运算,可移植 测试版,V0.0000.01 需进一步测试及优化-Written in pure C software simulation of 48 floating-point operations can be transplanted beta, V0.0000.01 need further testing and optimization
    2022-10-29 22:00:04下载
    积分:1
  • Examples of learning: students elective courses and performance management syste...
    初学实例:学生选修课及成绩管理系统,部分功能有待改善,菜单部分未完成-Examples of learning: students elective courses and performance management systems, some functions need to be improved, the menu part of the unfinished
    2022-01-24 15:46:48下载
    积分:1
  • Aplicacion de una biblioteca , falta un poco de codigo pero esta a mas de un 70
    Aplicacion de una biblioteca , falta un poco de codigo pero esta a mas de un 70-Aplicacion de una biblioteca , falta un poco de codigo pero esta a mas de un 70
    2023-06-25 06:00:04下载
    积分:1
  • C++代码
    数据结构C++代码-data structure C code
    2023-05-01 20:25:02下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载