-
广义表的反序
逆置广义表的递归模型如下:
F(LS) = null 若 LS 为空
F(LS) = LS ...
广义表的反序
逆置广义表的递归模型如下:
F(LS) = null 若 LS 为空
F(LS) = LS 若 LS 为原子,且 tail(LS) 为空
F(LS) = append( F(tail(LS)), head(LS) ) 若 LS->tag=0 ,且 LS->tp!=null
F(LS) = append( F(tail(LS), F(head(LS)) ) 若 LS->tag=1
其中 append(a,b) 的功能是将广义表 a 和 b 作为元素的广义表连接起来。-Generalized table set against the broad anti-order recursive model of the table is as follows: F (LS) = null if the LS is empty F (LS) = LS if LS for the atoms, and the tail (LS) is empty F (LS) = append (F (tail (LS)), head (LS)) if the LS-> tag = 0, and the LS-> tp! = null F (LS) = append (F (tail (LS), F (head (LS))) If the LS-> tag = 1 where append (a, b) function is a generalized form, and b as elements of generalized tables connected.
- 2022-03-01 20:55:59下载
- 积分:1
-
自定义数据类型的堆栈数据结构实现,早些时候学习的时候写的代码了,...
自定义数据类型的堆栈数据结构实现,早些时候学习的时候写的代码了,-Custom data types of the stack data structure to achieve the earlier study, when writing code, and
- 2023-07-21 03:55:03下载
- 积分:1
-
把dat文件转化为grd文件 供surfer使用
把dat文件转化为grd文件 供surfer使用-Dat file into the GRD surfer documents for use
- 2023-08-22 02:25:03下载
- 积分:1
-
用VC写的模拟内存分配管理的代码,经测试运行完全正确
用VC写的模拟内存分配管理的代码,经测试运行完全正确-VC write memory allocation management simulation code, the test run entirely correct
- 2023-01-07 01:40:03下载
- 积分:1
-
achieve m bands Containing tree (2) linear scale for the keys inserted into Cont...
实现m阶B_树 (2)将线性表中的键值插入到B_树中(即建立索引); (3)当删除和插入数据到线性表时,同时维护其索引B_树。 (4)可根据所给键值范围,输出该范围的所有键值-achieve m bands Containing tree (2) linear scale for the keys inserted into Containing tree (index); (3) When the deletion and insertion of data to the linear scale, while preserving its index Containing tree. (4) According to the pair, the scope of the output of all keys
- 2022-11-14 03:35:03下载
- 积分:1
-
数据结构课程设计,C语言,其中包含两则,一个是单链表的基本操作,500条语句,另外一个200条,是利用堆栈进行多种运算,均有报告...
数据结构课程设计,C语言,其中包含两则,一个是单链表的基本操作,500条语句,另外一个200条,是利用堆栈进行多种运算,均有报告-Curriculum design, data structures, C language, which contains two, one is the basic operation of a single linked list, 500 statements, while a 200 is the use of the stack for a variety of operations, are being reported
- 2022-04-07 12:48:23下载
- 积分:1
-
数据结构:有关树所有操作
数据结构:有关树所有操作- Construction of data: The related tree all operates
- 2023-08-09 05:05:03下载
- 积分:1
-
MAPX开发基础程序,实现简单的地图控制操作
MAPX开发基础程序,实现简单的地图控制操作-MAPX the basis of procedures developed to achieve a simple map control operations
- 2022-05-18 18:19:01下载
- 积分:1
-
这是一个自己实现的N皇后问题c++解法,请各位指教
这是一个自己实现的N皇后问题c++解法,请各位指教-This is an own implementation of the N Queens problem c++ solution
- 2022-11-06 09:50:03下载
- 积分:1
-
备份及取备份.zip
备份及取备份.zip-backup and take backup. Zip
- 2022-03-18 20:09:35下载
- 积分:1