搜索资源列表
zanduilieshixian
- 1. 定义链栈,完成栈的基本操作:清空栈、入栈、出栈、取栈顶元素; 2. 定义顺序队列,完成队列的基本操作:入队和出队;
针对链式或顺序存储的线性表实现指定的操作
- 针对链式或顺序存储的线性表实现指定的操作 使用栈或队列解决一个应用问题 实现对二叉树的一个指定的操作或用二叉树解决一应用问题 实现对图的一个指定的操作或用图解决一个应用问题 查找算法设计 排序算法设计 ,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
List 定义顺序队列类型
- 定义顺序队列类型,实现队列的所有基本操作。 定义链队列类型,实现队列的所有基本操作。 -Definition of the order queue type, all the basic operations of the queue. Defined chain of the queue type, all the basic operations of the queue.
Stack544014
- 用模板实现顺序栈的基本功能:初始化;判断栈空;判断栈满;置空栈;入栈;出栈;要求入栈时,栈非满是可以插入元素,否则抛除异常;出栈时,栈非空返回栈顶元素,否则抛除异常。(陈儒焕组) 5、队列是只允许在一端进行插入操作,而另一端进行删除操作的线性表。如何改造数组实现队列的顺序存储。要求:用模板实现队列的判空;判满;置队空;出队,队列非空时,出队队首元素,否则报错;出队,队列非满时,插入新元素到队尾,否则报错; -The template is the order of the stack t
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
Text5(1)
- 数据结构的基本操作:顺序队列的初始化、销毁、入队、出队基本操作的实现-The basic operation of the data structure: the order of the queue initialization, destruction, into the team, out of the realization of basic operations team
6
- 1、掌握队列的顺序存储和链接存储及队列操作 2、理解队列的不同存储实现下的头文件(queue.h和linkqueue.h)的应用 -1, control the order of the queue and the queue storage and storage operation link 2, understanding the different queue header files under the Data Storage (queue.h and linkqueue.h
shujujiegou
- 1.实现顺序表的基本操作,包括顺序表的初始化、第i个元素前插入一个新的元素、删除第i个元素、查找某元素、顺序表的销毁。2.实现单链表、循环链表、双向链表的所有基本操作 3.定义顺序栈类型,实现栈的所有基本操作。定义链栈类型,实现栈的所有基本操作。应用栈实现数制的转换。4.定义顺序队列类型,实现栈的所有基本操作。定义链队列类型,实现栈的所有基本操作。将字符串转换为整形。5.定义二叉链表类型,建立二叉树。先序、中序、后序、层次遍历二叉树,并输出遍历结果。-1. Achieve the basic o
shunxuduilie
- 顺序队列的基本操作.小的数据结构课程设计程序-The basic operation of the order queue. Small data structure course design procedure
Queue
- 本源码是数据结构顺序队列的相关操作源码,能够直接运行,帮助那些初学数据结构不知道从何入手的人快速入门-This source code is the data structure of the related operation order queue source code, can be directly run, help the beginners data structure don t know how to start from the people quickstart
duilie
- 1.定义顺序队列类型,实现队列的所有基本操作。 2.定义链队列类型,实现队列的所有基本操作。 3.将字符串转换为整形,例如将“123”转换为int型的123。 -Define the order of the queue type, all the basic operations of the queue. Definition the chain queue types, all the basic operations of the queue. Will convert a
duilie
- 1. 定义顺序队列类型,实现栈的所有基本操作。 2. 定义链队列类型,实现栈的所有基本操作。 3. 应用队列,编写测试函数判断字符序列是否为回文。 4. 编写测试程序。 -1 defines the type of queue order to achieve all of the basic stack operations. (2) define the queue type chain, to achieve all of the basic operation of th
1
- 定义一个顺序队列,可以对队列进行“入队”、“出队”、“清空队列”、“获取队首元素”等操作。键盘输入一些命令,可以执行上述操作。本题中,队列的元素为字母, 队列的最大元素个数为1-Define a sequential queue, you can queue " into the team," " the team" , " Clear Queue" , " get the first element of the team"
SequenceQueue
- 详细介绍了顺序队列的实现以及入队出对等各种操作。-Details of the various operating sequence of the queue and into the team to achieve a peer.
line
- 队列是一种先进先出的线性表,它只允许在表的一端进行插入,而在另一端进行删除元素。用链表表示的队列简称链队列。一个链队列需要两个分别指向队头和队尾的指针。顺序队列除了用一组地址连续的存储单元依次存放从队头到队尾的元素外,还需要两个指针front和rear分别指示队列头元素和队列尾元素的位置。 定义顺序队列类型,实现队列的所有基本操作。 定义链队列类型,实现队列的所有基本操作。 -FIFO queue is a linear form, it only allows to insert
duilie
- 1. 定义顺序队列类型,实现队列的所有基本操作。 2. 定义链队列类型,实现队列的所有基本操作。-1. Define the sequential queue type to implement all the basic operations of the queue. 2. Define the chain queue type to implement all the basic operations of the queue.
栈和队列的链接
- 数据结构实验 栈和队列的连接实验 ①编写程序实现循环队列的初始化、入队和出队操作 ②编写程序实现将一个任意的十进制数转换成对应的二进制数 要求: ①用栈的基本操作来实现(具体栈的存储结构可用顺序栈也可用链栈) 十进制数由键盘输入,输出对应的二进制数。 ②在初始化队列后,利用入队操作构建具有n个元素的队列并依次输出队列中的元素。在构建的具有n个元素的队列中,执行出队操作,输出出队后队列中的剩余元素(Data structure experiment stack and queue
第一次实验课
- 定义单链表类、链式栈类、顺序队列类。 2、 实验验证如下算法的正确性、各种功能及指标: 1)单链表插入操作:在第 i 个元素之后插入值为 x 的结点; 2)单链表删除操作:删除表头结点、表尾结点; 3)查找操作:查找值为 x 的元素在单链表中出现的位置(是链表中的第几个元素); 4)压栈和弹栈操作; 5)出队和入队操作。(Define single chain table class, chain stack class, sequence queue class. 2. The