-
二叉树与二叉链表
假设以如下说明的三元组 (F、C、L/R) 序列输入一棵二叉树的诸边(其中 F 表示双亲结点的标识,C 表示孩子结点标识,L/R 表示 C 为 F 的左孩子或右孩子),且在输入的三元组序列中,C 是按层次顺序出现的。设结点的标识是字符类型。F=‘^’时 C 为根结点标识,若 C 亦为‘^’,则表示输入结束。试编写算法,由输入的三元组序列建立二叉树的二叉链表,并以中序序列输出。^AL ABL ACR BDL CEL CFR DGR FHL ^^L -Assuming the following description of the triple (F, C, L/R) sequence of a binary tree of all the input side (where F that identifies the parent node, C, said child node ID, L/R that C is F, left or right child child), and triples in the input sequence, C is the emergence of a hierarchical order. Node identity is established character types. F = " ^" C for the root identity when, if C is also a " ^" , then enter the end. Test preparation algorithm, the input sequence of triples binary build the binary tree list, and in order to sequence the output
- 2022-09-25 12:40:03下载
- 积分:1
-
用VFP编的电脑查询系统,比较简单,适合初学者参考.
用VFP编的电脑查询系统,比较简单,适合初学者参考.-with VFP addendum to the computer search system, a relatively simple reference for beginners.
- 2022-03-11 17:47:08下载
- 积分:1
-
用链表实现的大数阶乘,可以计算n万的阶乘,不过3万以上,时间就很长了。...
用链表实现的大数阶乘,可以计算n万的阶乘,不过3万以上,时间就很长了。-List realize with the factorial of large numbers, can calculate the factorial of n million, but more than 30,000, time is very long.
- 2022-03-10 17:52:57下载
- 积分:1
-
广义表的头文件简单实用,一般般的操作都有说明。
广义表的头文件简单实用,一般般的操作都有说明。-Generalized table header file is simple and practical, generally have been described as the operation.
- 2023-04-05 08:15:03下载
- 积分:1
-
LTE Sim 流动
* 本文件是 LTE Sim 的一部分* LTE Sim 是免费软件 ;你可以将它重新分发和/或修改* 根据 GNU 通用公共许可证版本 3 作为它由自由软件基金会 ; 的出版 ;* LTE Sim 被分布在希望它会有用的* 但不提供任何保证 ;没有甚至隐含的担保* 适销性或适合特定目的。请参见* GNU 通用公共许可证有关更多详细信息。*
- 2022-02-24 20:31:28下载
- 积分:1
-
数据结构课程设计 B
数据结构课程设计 B-树 等 希望对大家有帮助-Data Structure Course Design B-trees, etc. We want to help
- 2022-04-11 02:31:21下载
- 积分:1
-
适合用来做K_Means 和K_NN的数据,一共150组,分成3个簇。
适合用来做K_Means 和K_NN的数据,一共150组,分成3个簇。-K_Means and make suitable for K_NN data, a total of 150 groups, divided into three clusters.
- 2022-01-28 02:09:09下载
- 积分:1
-
本文介绍了数据结构中的选择排序,希尔排序等算法,采用全英文版,真实可靠...
本文介绍了数据结构中的选择排序,希尔排序等算法,采用全英文版,真实可靠-This paper introduces the data structure of choice, in order of ranking algorithms such as Hill, was used in English, true and reliable
- 2022-02-25 02:55:34下载
- 积分:1
-
Prime 算法,创建有向图,无向图,有向网,无向网的算法
Prime 算法,创建有向图,无向图,有向网,无向网的算法-Prime algorithms, to create a directed graph, undirected graph, directed networks, undirected networks algorithm
- 2022-02-05 18:59:57下载
- 积分:1
-
备份及取备份.zip
备份及取备份.zip-backup and take backup. Zip
- 2022-03-18 20:09:35下载
- 积分:1