-
二叉树与二叉链表
假设以如下说明的三元组 (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
-
这是数据结构的四则运算的c语言程序,只要编译就能运行呀!...
这是数据结构的四则运算的c语言程序,只要编译就能运行呀!-This is the data structure of the four operations c language program, as long as the compiler can run!
- 2022-01-21 01:27:28下载
- 积分:1
-
考勤管理系统VC源码
登录的用户和密码均为KQ
考勤管理系统VC源码
登录的用户和密码均为KQ
-Attendance Management System VC FOSS users and login passwords are stretch
- 2022-05-31 03:07:17下载
- 积分:1
-
A small database system, the specific contents of address book for the class to...
一个小数据库系统,具体内容为班级通讯录,比较全-A small database system, the specific contents of address book for the class to compare the whole
- 2023-09-08 19:00:04下载
- 积分:1
-
快速排序
不是稳定的快速排序
优化了的原位快速排序
快速排序
不是稳定的快速排序
优化了的原位快速排序
- 2022-06-21 21:50:00下载
- 积分:1
-
数据库设计60个技巧
数据库设计60个技巧-Database design skills 60
- 2022-05-15 05:45:22下载
- 积分:1
-
定时备份Oracle数据库和文件的程序
支持RAR压缩功能
定时备份Oracle数据库和文件的程序
支持RAR压缩功能-Regularly back up Oracle databases and documents in support of RAR compression
- 2022-06-15 10:58:16下载
- 积分:1
-
矩阵连乘算法,实现几个矩阵相乘的最优顺序,并计算出复杂度...
矩阵连乘算法,实现几个矩阵相乘的最优顺序,并计算出复杂度-matrix continually multiply algorithm, achieving several matrix multiplication, the optimal sequence and calculated complexity
- 2022-01-25 18:04:43下载
- 积分:1
-
集装箱的装箱问题
给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得...
集装箱的装箱问题
给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高?-problem given a container, its length L, width W and H for high, existing batch of cylindrical wood and each timber are long L, but different radius, based i-radius of the wood-ri. Asked how crates, containers make maximum utilization of space?
- 2023-05-27 04:50:03下载
- 积分:1
-
java数据结构和算法(第二版)
Java数据结构和算法(第二版)-lafore著,教材中的范例程序,用JAVA语言,-Java data structures and algorithms (second edition)-lafore, and textbook examples of procedures, using JAVA language,
- 2022-02-09 20:19:56下载
- 积分:1