登录
首页 » 数据结构 » 广义表的反序 逆置广义表的递归模型如下: F(LS) = null              若 LS 为空 F(LS) = LS         ...

广义表的反序 逆置广义表的递归模型如下: F(LS) = null              若 LS 为空 F(LS) = LS         ...

于 2022-03-01 发布 文件大小:216.35 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

广义表的反序 逆置广义表的递归模型如下: 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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vfp转换成excel表格
    vfp转换成excel表格-vfp change to excel
    2023-02-09 20:55:03下载
    积分:1
  • DAO Database Programming connect to the database
    数据库编程 DAO连接数据库-DAO Database Programming connect to the database
    2023-02-24 02:35:03下载
    积分:1
  • 二叉树的实现
    数据结构二叉树的实现-binary tree data structure to achieve
    2023-03-28 08:35:04下载
    积分: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
  • 需要同事们慢慢的学习
    有需要的同仁载回去慢慢研究-need colleagues set back slowly study
    2022-02-13 01:03:29下载
    积分:1
  • 排序是中的一项重要内容,该算法包括了直接插入冒泡选择排序算法的实现...
    排序是数据结构中的一项重要内容,该算法包括了直接插入冒泡选择排序算法的实现- The arrangement is in a construction of data important content, this algorithm has included the direct insertion bubbling choice sort algorithm realization
    2022-08-14 20:12:26下载
    积分:1
  • C 语言开发HNT格式库系统
    C 语言开发HNT格式数据库系统 -boosted the development of C language format database system
    2023-07-11 10:45:03下载
    积分:1
  • /* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means...
    迷宫算法(maze) /* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK, * 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary. * Each step can be made horizontally or vertically for one more grid (diagonal * jump is not allowed). * Your program should print a series of grid coordinates that start from m[0][0] * and go to m[9][9] * Hint: No need to find the shortest path, only need to find one path that gets * you to desitination. */ -/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK, * 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary. * Each step can be made horizontally or vertically for one more grid (diagonal * jump is not allowed). * Your program should print a series of grid coordinates that start from m[0][0] * and go to m[9][9] * Hint: No need to find the shortest path, only need to find one path that gets * you to desitination.
    2022-08-08 06:28:42下载
    积分: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
  • 链表,学生成绩记录
    这是一个学生成绩的记录表练习,是数据结构中的链表实现的,对初学者有很大帮助,自己写的,多有不足,请大家一起完善。
    2022-08-11 20:45:26下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载