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

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

于 2022-03-01 发布 文件大小:216.35 kB
0 148
下载积分: 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 个回复

  • car park management system, more complex, for your study reference!
    停车场管理系统,比较复杂,供大家学习参考!-car park management system, more complex, for your study reference!
    2022-03-09 17:37:13下载
    积分:1
  • 中有关单链表操作的源码
    数据结构中有关单链表操作的源码-data structure of the single-source operating Chain
    2022-07-22 09:35:48下载
    积分:1
  • vfp database interface
    vfp database interface 数据库方面的interface设计文件-vfp database interface
    2022-04-29 01:51:42下载
    积分:1
  • Note : This section of the review of data structure and algorithm, a few scatter...
    说明: 这一段在复习数据结构和算法,有一些零星笔记,在Others这个归类下,欢迎指正。 对于排序算法,想做一个动态演示的东东,因此今天使用VB.net大概实现了一个,界面如下,代码有2个版本,一个可以指示当前循环的位置(但设计感觉不好,也找不到更好的办法),一个没有。 -Note : This section of the review of data structure and algorithm, a few scattered notes, in the classified Others, welcomed the correction. For Sorting Algorithm and do a demonstration of the dynamic page, and it is probably using VB.net achieved one of the following interface, the code has two versions, one can instruct the current cycle position (but feel bad design, but also find better ways), a no.
    2023-08-16 01:40:02下载
    积分:1
  • c语言集锦
    c语言题型集锦,集合了大量的c语言题型,                                                                                                                拥有很多简单但很实用的算法,对学习c语言来说是不可多得的资料。
    2022-03-14 20:05:33下载
    积分:1
  • Data dictionary description of the database design a great help to
    数据字典的说明,对数据库设计有极大的帮助-Data dictionary description of the database design a great help to
    2022-12-03 21:15:03下载
    积分:1
  • 表达式求值,包括栈的读写,创建,释放,可以求借一般四则运算,带括号等...
    表达式求值,包括栈的读写,创建,释放,可以求借一般四则运算,带括号等-expression evaluates, including stacks of reading and writing, to create, release and should seek through four general computing, with brackets, etc.
    2023-05-07 14:05:02下载
    积分:1
  • floyd,求最短路径的算法。。求任意两点间的最短距离
    floyd,求最短路径的算法。。求任意两点间的最短距离-floyd, seeking the shortest path algorithms. . Arbitrary order of the shortest distance between two points
    2022-07-13 09:49:18下载
    积分:1
  • 学生成绩管理系统(无文件版)
    利用c语言实现学生成绩的管理,主要功能有新生的登记注册、学生信息的修改、学生成绩的登记、学生成绩的修改、学生成绩单的格式打印等功能;本程序富含有背景操作等相关内容!
    2022-01-22 13:03:32下载
    积分:1
  • 严蔚敏编写的《》第7章的答案,全部为源码
    严蔚敏编写的《数据结构》第7章的答案,全部为源码-the answers of chapter 7 of a book called ‘Data Structures’ writen by Yan Wei Min
    2022-03-13 00:24:29下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载