文件名称:SA04225140_NO5
介绍说明--下载内容均来自于网络,请自行研究使用
红黑树:输入:在同一目录下的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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 318549sa04225140_no5.rar 列表 SA04225140_NO5\说明文档.doc SA04225140_NO5\RedBlackTree.cpp SA04225140_NO5\redblacktree.txt SA04225140_NO5\RedBlackTree.exe SA04225140_NO5