-
广义表的反序
逆置广义表的递归模型如下:
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
-
二叉数先序循环的非递归实现,一般先序循环都是由递归实现的,按照完全二叉树格式输入字符型结点值...
二叉数先序循环的非递归实现,一般先序循环都是由递归实现的,按照完全二叉树格式输入字符型结点值-binary sequence a few first cycle of non- recursive, the general first order recursive cycle are achieved, In accordance with the format completely binary tree node input character values
- 2022-12-13 22:45:03下载
- 积分:1
-
Implementing a queue data structure
Implementing a queue data structure
- 2022-01-20 22:39:06下载
- 积分:1
-
VB学生成绩管理系统,使整套日…
VB student result management system management system, brings the entire wrap the paper, has the very high reference value to the graduation project.
- 2022-04-18 08:23:40下载
- 积分:1
-
c++中数据结构的链表处理程序
c++中数据结构的链表处理程序-c structure of the data processing procedures Chain
- 2023-06-16 14:50:04下载
- 积分:1
-
二叉树的动态链表存储结构及表示,二叉树的三种遍历算法(递归和非递归两类)运用二叉树三种遍历的方法求解有关问题...
二叉树的动态链表存储结构及表示,二叉树的三种遍历算法(递归和非递归两类)运用二叉树三种遍历的方法求解有关问题-Binary tree structure and the dynamics of linked list is stored, said three kinds of binary tree traversal algorithms (recursive and non-recursive types) the use of three kinds of binary tree traversal of the method for solving the problem
- 2022-04-11 18:58:18下载
- 积分:1
-
这是计算机体系结构中用哈夫曼编码进行指令编码的程序,并构建哈夫曼树...
这是计算机体系结构中用哈夫曼编码进行指令编码的程序,并构建哈夫曼树-This the computer architecture used Huffman coding instructions for coding procedures, and to build Huffman tree! !
- 2022-03-20 03:29:53下载
- 积分:1
-
实现构造哈夫曼树的哈夫曼算法。
求解出所构造的哈夫曼
使用树的带权路径长度。...
实现构造哈夫曼树的哈夫曼算法。
求解出所构造的哈夫曼
使用树的带权路径长度。
-Huffman tree structure to achieve the Huffman algorithm. Solving the structure of the Huffman tree with the right to use the path length.
- 2022-03-18 08:19:38下载
- 积分:1
-
动态加载odbc数据源及其内部表单的小程序
动态加载odbc数据源及其内部表单的小程序-Dynamic loading odbc data source and its internal form of small programs
- 2022-09-04 08:50:02下载
- 积分:1
-
A.STEVENS database by c
A.STEVENS 用C语言开发的数据库 -A.STEVENS database by c
- 2022-01-26 18:27:18下载
- 积分:1