搜索资源列表
linktostack
- 用链表实现栈的操作.该程序有栈的进栈和出栈操作.很简单.这是本人第一次上传程序源代码,如有什么不足之处还望各位多多海涵.-used to achieve stack operation. The program is the stack into the stack and stack up operation. Very simple. This is the first time I uploaded the source code, if there are any deficiencie
BOTHSTAC
- 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 双向栈的操作 入本 出本 -stack of two-way operation to the two-way out of the stack into the operation of the two-way
zhan-op
- 栈的操作与应用 定界符配对检查 中缀转后缀并求值-stack operation and application delimiter matching inspection superintendent to seek value and Suffix
sufexpresssrc
- 本程序是一个完整的后缀表达式计算,主要用栈的操作实现,本程序封装了CStack类实现栈的操作,本程序最大的特色在于运用动态监视表达式的算法对表达式进行数据校验,对一切合法的表达式进行计算,检验出所有任何非法表达式并提示。-this procedure is a complete expression suffix, the main stack to achieve the operation, Packaging of this program to achieve Stack CStack
shuxuzhan
- 本源码是关于数据结构的顺序栈的操作的源码,你可以下载编译。-the source of the data structure is the sequence of operation of the stack source code, you can download the compiler.
lianshizhan
- 本源码是关于数据结构的链式栈的操作的源码,你可以下载编译。-source of the data structure of the chain of operation of the stack source code, you can download the compiler.
3
- 实现顺序栈的操作(栈空判断、入栈、出栈、读取栈顶元素)。
树的问题(生成)
- ADT BinaryTree 的实现及验证程序采用的主要数据结构:二叉树、栈、队算法思想:1、 先序建树、输出树、后序遍历用递归方法。性能分析:O( n )2、 先序遍历、中序遍历:性能分析:O( n )(1) 若遇到新节点非空则先入栈,然后访问其左子树。(2) 若为空则将栈顶结点出栈,访问其右子树。(3) 循环1、2直到栈为空且无节点可入栈。先序与中序的区别是:先序在入栈时访问节点,中序在出栈时访问节点。3、 层遍历:性能分析:O( n )(1) 根节点入队(2) 节点出队并访问(3) 若节点
顺序栈的基本操作
- 顺序栈的基本操作,一共9个,与吴伟民数据结构课本完全一致,用C实现-order stack the basic operation, a total of nine, and Xiulan WU Weimin textbooks data structure is fully consistent with achieving C
针对链式或顺序存储的线性表实现指定的操作
- 针对链式或顺序存储的线性表实现指定的操作 使用栈或队列解决一个应用问题 实现对二叉树的一个指定的操作或用二叉树解决一应用问题 实现对图的一个指定的操作或用图解决一个应用问题 查找算法设计 排序算法设计 ,Store chain or the order for the linear table implementation of the operation specified stack or queue to use the application to solve a probl
Stack 实现栈的所有基本操作
- 1、定义顺序栈类型,实现栈的所有基本操作。 2、定义链栈类型,实现栈的所有基本操作。 3、实现数制的转换-1, define the order of the stack type, to achieve the stack all the basic operations. 2, define the chain stack type to achieve the stack all the basic operations. 3, conversion of number sys
链式表的相关使用啊
- (1)采用链式存储实现栈的初始化、入栈、出栈操作。 (2)采用顺序存储实现栈的初始化、入栈、出栈操作。 (3)采用链式存储实现队列的初始化、入队、出队操作。 (4)采用顺序存储实现循环队列的初始化、入队、出队操作。 (5)在主函数中设计一个简单的菜单,分别测试上述算法。
栈aaa
- 数据结构中栈的相关操作,数据结构中栈的相关操作-data structure stack of operation, stack data structure of operation
zhan
- 数据结构C语言对栈的操作,有链栈出栈、入栈的算法,顺序栈出栈、入栈的算法,hanoi塔的算法-C language data structure for stack operation, there is a chain of stack stack入栈algorithms, the order of the stack stack,入栈algorithm, hanoi tower algorithm
a.doc
- 1) 根据栈数据结构,分别建立一个顺序栈和链式栈并实现其上基本操作(出栈和入栈等); 2) 根据队列数据结构,分别建立链队列和循环队列,并完成其上的基本操作(出入队列等); 3) 参考P80表达式求值例题,应用栈的基本操作实现简单表达式求值运算及其进出栈模拟过程(给出程序执行过程中栈的变化过程); 4) 阅读P83栈与递归的实现一节内容和3阶汉诺塔问题。使用栈数据结构解决3阶汉诺塔问题,编写程序并模拟栈及其汉诺塔的搬运过程(给出程序执行过程栈的变化过程与圆盘的搬动状态)。 5)
栈和队列的链接
- 数据结构实验 栈和队列的连接实验 ①编写程序实现循环队列的初始化、入队和出队操作 ②编写程序实现将一个任意的十进制数转换成对应的二进制数 要求: ①用栈的基本操作来实现(具体栈的存储结构可用顺序栈也可用链栈) 十进制数由键盘输入,输出对应的二进制数。 ②在初始化队列后,利用入队操作构建具有n个元素的队列并依次输出队列中的元素。在构建的具有n个元素的队列中,执行出队操作,输出出队后队列中的剩余元素(Data structure experiment stack and queue
zhan
- 1) 建立栈并进行一些元素入栈,实现链栈的建立及入栈的基本操作; (2)实现某些元素的出栈,实现链栈的出栈的操作;(1) set up the stack and carry out some elements into the stack, to achieve the establishment of the chain stack and the basic operation of the stack; (2) the stack of some elements can be re
栈的顺序存储与操作
- 关于数据结构中栈的存储方式及操作内含简单的源代码(The storage mode and operation of the stack in the data structure)
顺序栈验证实验
- 顺序栈的模板,包括构造函数,析构函数,入栈,出栈,取栈顶元素,判空等基本操作,并在主函数中实现(The template of the sequential stack, including the constructor, the destructor, the push, the pop, the getpop,the empty. Then realize the function of each in the main function.)
5
- 栈的操作,包括初始化创建,插入和删除元素(Stack operations, including initialization, creation, insertion and deletion of elements)