-
广义表的反序
逆置广义表的递归模型如下:
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
-
这是一个取得网卡全球物理号的源码,希望对你有用
这是一个取得网卡全球物理号的源码,希望对你有用-This is a global physical network adapter to obtain its source code, I hope useful for you
- 2022-01-30 14:26:43下载
- 积分:1
-
按层遍历二叉树的算法设计探讨
按层遍历二叉树的算法设计探讨-layer by the binary tree traversal algorithm design
- 2022-03-22 03:25:53下载
- 积分:1
-
ADO use and Packaging example, a very practical
ADO使用和封装的例子,很实用-ADO use and Packaging example, a very practical
- 2022-04-21 04:01:12下载
- 积分:1
-
The realization of the source of the most basic database operations, insert, mod...
本源码实现了对数据库的最基本的操作,插入,修改,添加删除等基本操作,旨在对读者掌握最基本的数据库操作-The realization of the source of the most basic database operations, insert, modify, add, delete and other basic operations, aimed at the readers grasp the most basic database operations
- 2022-02-06 09:19:15下载
- 积分:1
-
一类计算器的初步研究,一类考试系统的结晶…
The crystallize of the initial study, one class examination system of calculator, everyone gives order to point out.-The crystallize of the initial study, one class examination system of calculator. everyone gives order to point out.
- 2023-03-23 16:50:03下载
- 积分:1
-
调试顺序结构栈的基本操作(清华大学出版社数据结构C语言版书本P44)...
调试顺序结构栈的基本操作(清华大学出版社数据结构C语言版书本P44)-Debug stack order of the structure of the basic operations (Tsinghua University Press Data Structures C language version of the book P44)
- 2023-08-27 19:10:03下载
- 积分:1
-
K路归并算法,用贪心算法构造霍夫曼树,采用加入虚节点的思想求出最优的归并模式...
K路归并算法,用贪心算法构造霍夫曼树,采用加入虚节点的思想求出最优的归并模式-K Road, merge algorithm, greedy algorithm using Huffman tree constructed using the idea of adding virtual nodes to derive the optimal merging pattern
- 2022-04-21 22:46:18下载
- 积分:1
-
CBASE_management
CBASE_management
- 2022-03-06 14:30:41下载
- 积分:1
-
图的建立、遍历、最小生成树、最短路径
图的建立、遍历、最小生成树、最短路径...
图的建立、遍历、最小生成树、最短路径
图的建立、遍历、最小生成树、最短路径-plans the establishment, traverse, the minimum spanning tree and the shortest road map for the establishment of traversal, minimum spanning tree, shortest path
- 2023-01-04 18:15:04下载
- 积分:1