搜索资源列表
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
Stack-examples
- 栈的几个应用举例——顺序栈、链栈结构定义与基本操作(SqStack_exercise.cpp,LinkStack_exercise.cpp),括号匹配(matching.cpp),表达式求值(evaluation.cpp),Ackerman递归函数的实现(Ackerman.cpp)-Stack a few application examples- the order of the stack, the stack structure is defined chain, and basic op
arithmetic
- 常用算法:链表的操作、队列的应用、堆栈的应用、串的应用、树的基本操作、冒泡排序、堆排序、归并排序、磁盘文件排序、顺序查找、二分查找、树的动态查找、二分法求解方程、牛顿迭代求解方程、弦截法求解方程、拉格朗日插值、最小二乘法拟合、辛普生数值积分、改进欧拉法、龙格-库塔算法、高斯消去法、正定矩阵求逆算法-Commonly used algorithms: List of operation, the queue of applications, the stack of applications, t
a.doc
- 1) 根据栈数据结构,分别建立一个顺序栈和链式栈并实现其上基本操作(出栈和入栈等); 2) 根据队列数据结构,分别建立链队列和循环队列,并完成其上的基本操作(出入队列等); 3) 参考P80表达式求值例题,应用栈的基本操作实现简单表达式求值运算及其进出栈模拟过程(给出程序执行过程中栈的变化过程); 4) 阅读P83栈与递归的实现一节内容和3阶汉诺塔问题。使用栈数据结构解决3阶汉诺塔问题,编写程序并模拟栈及其汉诺塔的搬运过程(给出程序执行过程栈的变化过程与圆盘的搬动状态)。 5)
TsinghuaCdatastructures
- 清华+殷人昆C++数据结构 幻灯片教学课件 通过本课程的学习,应达到知识和技能两方面的目标: 1、知识方面:从数据结构的类定义和对象的使用,以及存储表示和操作的实现两个层次,系统地学习和掌握常用的基本数据结构(包括数组、顺序表、多项式、字符串、链表、栈与队列、优先级队列、广义表、树与森林、二叉树、堆、集合、图、搜索结构、索引结构、散列结构等)及其不同的实现,了解并掌握分析、比较和选择不同数据结构、不同存储结构、不同算法的原则和方法,为后续课程的学习打好基础。 -Tsinghua Q
FILE01
- 栈的的应用和链表基本操作表达式有转换和表达式的计算-Stack of applications and expressions are the basic operation of linked list conversion and calculation of expression
FILE002
- 栈的的应用和链表基本操作,迷宫路径问题(找到出口)-Stack of applications and list of basic operations, the maze routing problem
STACKS
- 堆栈、队列的链式实现 基本要求:所设计的程序要有简单的DOS界面,方便用户进行操作,完成以下功能: 以链式存储方式,实现堆栈的入栈、出栈、取栈顶元素功能。 以链式存储方式,实现带表头结点的循环队列的入队、出队、取队首元素、求队列长度。 查找出队列中的最大元素。 利用所实现的堆栈对队列中元素进行逆置,并将结果输出到文本文件中。 提高要求: 系统运行时能从文本文件中读取堆栈、队列元素信息,运行结束能将堆栈、队列最新元素信息保存至相应文件中。-Stack, queue ch
DataStructer-Assigments
- 数据结构的第二章作业。关于链表,栈等所有基本操作的代码-Chapter II of the data structure operations. About linked lists, stacks and all the basic operations of the code
1132154564787
- 这是一个链栈,用户可以根据提示进行栈的入栈、出栈等基本操作。-This is a chain of stack, the user can be prompted to stack the stack, the stack and other basic operations.
11
- 栈的基本操作 链式表达方式-Further understand the basic operation of the stack implementation
queue
- 用c++实现的基本队列,链表,栈的操作, 可以在vc6中运行-C++ implementation of the basic queue operation can be run in vc6
data_structure
- C环境下的双向链表和链式栈结构的基本操作,具有一点的通用性-Doubly linked list and the basic operation of the chain stack structure in the C environment, with a little versatility
zhan
- 1.定义顺序栈类型,实现栈的所有基本操作。 2.定义链栈类型,实现栈的所有基本操作。 3.应用栈实现数制的转换。 -1 defined sequence stack type stack all the basic operations. 2. Define the type of chain stack, the stack of all the basic operations. Application stack number system conversion.
stack1
- 栈的链式存储结构与操作,栈的基本操作,可以ac过-The basic structure and operation of the chain store operations, stack stack can be ac over
4
- 初始化栈、判栈为空、出栈、入栈、求栈顶元素等运算,自己填写主函数。 利用顺序栈的基本操作,实现将任意一个十进制整数转化为R进制整数 3、用顺序存储来定义循环队列结构。编程实现, 初始化队列、判队列为空、出队列、入队列、求队列头部元素等运算。 只有尾指针的单循环链表表示的队列的入队和出队程序.-Initialize the stack, the stack is empty sentence, stack, stack, seeking the top element and ot
Stack
- 数据结构栈的顺序存储和链式存储结构,及对应的基本操作,以及建立其上的各种功能算法,比如迷宫求解,符号匹配等等。-Data storage and chain structure of the stack sequence storage structure and the corresponding basic operation and to establish the various of the algorithm such as maze solving symbol match .
栈和队列的链接
- 数据结构实验 栈和队列的连接实验 ①编写程序实现循环队列的初始化、入队和出队操作 ②编写程序实现将一个任意的十进制数转换成对应的二进制数 要求: ①用栈的基本操作来实现(具体栈的存储结构可用顺序栈也可用链栈) 十进制数由键盘输入,输出对应的二进制数。 ②在初始化队列后,利用入队操作构建具有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
数据结构
- (1)建立链队列,并实现一些元素入队,实现链队列的建立和入队的基本操作; (2)实现某些元素出队,实现链队列的出队的基本操作((1) the establishment of the chain queue, and realize some basic elements into the team, and the team operation to achieve the establishment of the chain queue; (2) to realize some elem