登录
首页 » 数据结构 » 栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进...

栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进...

于 2023-08-22 发布 文件大小:2.93 kB
0 189
下载积分: 2 下载次数: 1

代码说明:

栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。- The stack (stack) is in the programming process frequently meets the vitality one kind of construction of data form under, it has such characteristic regarding data depositing and the operation: 1) it only has a logarithm according to the port which carries on stores and takes out; 2) less advanced first leaves, namely finally the data which will store first is taken out. Its form looks like one kind of memory coin very much the small container, each time only may press in a coin from the peak, but takes out also only may carry on from the peak, namely less advanced first leaves. Such data storage and the management form are very useful in some programmings. For example, in the compiling system (this is a kind of quite complex procedure), transfe

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

发表评论

0 个回复

  • 在二维的AVL树的显示格式
    AVL tree display format in two dimensional
    2022-01-26 06:26:12下载
    积分:1
  • use vb6.0 train inquiries database access and the development of the trains will...
    火车查询 利用vb6.0 与数据库access开发 可以完成火车的查询功能-use vb6.0 train inquiries database access and the development of the trains will be completed inquiry
    2022-04-30 05:46:43下载
    积分:1
  • 文件分类和统计的话,TF / IDF等
    documents classification and words statiscs TF/IDF etc
    2022-11-27 11:45:03下载
    积分:1
  • 银行定储模拟程序
    银行定储模拟程序-Reserve Bank is scheduled simulation program
    2022-03-19 22:05:44下载
    积分:1
  • 的最短路径算法
    数据结构的最短路径算法-Source codes about how to realize the short path generation for single source graph.
    2022-06-20 23:37:38下载
    积分:1
  • 我用Powerbuilder做的一个研究生管理系统,功能齐全,界面友好...
    我用Powerbuilder做的一个研究生管理系统,功能齐全,界面友好-I used to do a post-graduate management system, fully functional, user-friendly
    2022-04-06 16:39:11下载
    积分:1
  • 一个较小的论坛程序本程序的基本功能是开放的讨论…
    一个小巧的论坛程序 本程序基本功能:  可开设任意数目的讨论区类别和版块 使用Cookies,方便用户的使用 用户有自定义的设置 帖子分表功能,大大的加快论坛的速度 用户自定义样式 投票功能,论坛短信功能,帖子置顶和总置顶功能 上传附件功能 锁定功能,包括锁定帖子功能和锁定论坛功能 认证功能,认证特殊用户 会员版面,仅注册用户登陆后才可进入...... 更多贴身功能相信您在使用过程中会感受得到-a smaller forum procedures of this program basic functions : to be open to discuss any number of category and the use of Cookies plate, the use of user-friendly user-defined settings posted meters function, and thus accelerate the pace of the Forum user-defined functions voting patterns, the Forum messaging functions, message home total set-top roof and functional upload attachments lock function, including articles lock function and lock forum function authentication, user authentication special Member layout, only registered users to enter only after landing ...... more personal function you believe in the use of the process will s
    2022-08-15 10:13:39下载
    积分:1
  • 哈夫曼树算法 根给定的n个权值{w1,w2,……wn},造n棵只有根点的二叉树,令起权值为wj 在森林中选取两棵根点权值最小的树作左右子树,造...
    哈夫曼树算法 根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj 在森林中选取两棵根结点权值最小的树作左右子树,构造一棵新的二叉树,置新二叉树根结点权值为其左右子树根结点权值之和 在森林中删除这两棵树,同时将新得到的二叉树加入森林中 重复上述两步,直到只含一棵树为止,这棵树即哈夫曼树 -Huffman tree algorithm based on a given n-weights (w1, w2, ... ... wn), construct n trees only a root node of the tree, so that from the right value of wj in the forest root node to select two the right tree for the value of the smallest subtree around, a new binary tree structure, the right to buy a new tree root node value of its subtree root node around the right value in the forest and delete these two trees, At the same time, the new binary tree obtained by adding the forest to repeat the above two steps until a tree containing only the date, that is, Huffman tree tree
    2023-05-05 13:05:03下载
    积分:1
  • 一个快速排序算法的实现例子,课程作业,可作研究学习之用。 包含源文件和详细的开发文档,可方便移植到C等语言平台。...
    一个快速排序算法的实现例子,数据结构课程作业,可作研究学习之用。 包含源文件和详细的开发文档,可方便移植到C等语言平台。-a fast algorithm to achieve example, the data structure course work and can be used for research and study purposes. Includes source document and detailed documentation, will facilitate the transplantation of languages such as C platform.
    2022-04-15 16:19:00下载
    积分:1
  • 用Delphi开发的经典的库系统
    用Delphi开发的经典的数据库系统-with the classic Delphi database system
    2022-04-24 06:39:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载