-
广义表的反序
逆置广义表的递归模型如下:
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
-
二叉树
二叉树- Two forks the tree
- 2022-10-12 15:10:04下载
- 积分:1
-
数据库连接
包裹ca.pfv.spmf公司.关联规则.TopKRules;
- 2022-07-13 13:33:39下载
- 积分:1
-
数据结构课后题,图方面的代码,如DFS BFS dijistra prim kruscal等
资源描述数据结构课后题,图方面的代码,如DFS BFS dijistra prim kruscal等,对于初学算法基础课的学生有很大的帮助
- 2022-02-15 10:13:36下载
- 积分:1
-
本文档容括了C(C++)所有算法,分为数值算法、图论算法、背包算法、排序算法、高精度算法、树的遍历、进制转换、全排列和组合生成、查找算法、贪心、回溯法框架、DF...
本文档容括了C(C++)所有算法,分为数值算法、图论算法、背包算法、排序算法、高精度算法、树的遍历、进制转换、全排列和组合生成、查找算法、贪心、回溯法框架、DFS框架、BFS框架、数据结构相关算法。并有实例源码-This document, including the capacity C (C ) for all algorithms, divided into numerical algorithms, graph theory, algorithm, knapsack algorithm, sorting algorithm, high-precision algorithms, tree traversal, binary conversion, the whole arrangement and combination of generation, search algorithm, greedy , backtracking framework, DFS framework, BFS framework, data structure-correlation algorithm. And examples of source
- 2022-01-26 03:58:31下载
- 积分:1
-
Combine two polynomials using linked list, then format printing
利用链表解决合并两个多项式的问题,最后按格式输出多项式-Combine two polynomials using linked list, then format printing
- 2022-02-06 04:34:01下载
- 积分:1
-
64位以内Rabin
64位以内Rabin-Miller 强伪素数测试和Pollard rho 因数分解算法的实现-64 within Rabin-Miller-puppet prime testing and Pollard rho factorization algorithm implementation
- 2023-01-06 03:00:03下载
- 积分:1
-
一个摩托配件库存管理系统
一个摩托配件库存管理系统-a motorized parts inventory management system
- 2022-05-29 00:10:53下载
- 积分:1
-
Infix expression to Reverse Polish conversion of program code, learning data str...
中缀表达式到逆波兰式转换的程序代码,学习数据结构的可以-Infix expression to Reverse Polish conversion of program code, learning data structures can be
- 2022-10-19 05:20:03下载
- 积分:1
-
三道几何题:hdu 1007、hdu 2289、poj 3714
三道几何题:hdu 1007、hdu 2289、poj 3714-Three geometry question: hdu 1007, hdu 2289, poj 3714
- 2022-02-15 06:47:15下载
- 积分:1