搜索资源列表
栈的操作
- 建立链式栈并完成入栈,出栈,判栈空和求栈长的操作-establish and complete chain stack pushed out stack, stack space and contracting for the operation of stack -
顺序栈的基本操作
- 顺序栈的基本操作,一共9个,与吴伟民数据结构课本完全一致,用C实现-order stack the basic operation, a total of nine, and Xiulan WU Weimin textbooks data structure is fully consistent with achieving C
简单的链的倒置(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
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)
linklist
- 链栈的操作(创建、打印、进栈、出栈、返回源程序)-Chains stack operations (create, print, into the stack, out of the stack, return source code)
calculator
- 一、实验一:带括号的算术表达式求值 二、实验的目的和要求: 1.采用算符优先数算法,能正确求值表达式 2.熟练掌握栈的应用 3.熟练掌握计算机系统的基本操作方法,了解如何编辑、编译、链接和运行一个C++程序 -1, experiment 1: arithmetic expressions with parentheses evaluated two experimental purposes and requirements: 1. Using operators pr
shujujiegouzonghui
- 数据结构实验代码,有栈,队,图的操作,代码中有详细的解释-Experimental data structure code, stack, team, plans the operation, code explained in detail
栈和队列的链接
- 数据结构实验 栈和队列的连接实验 ①编写程序实现循环队列的初始化、入队和出队操作 ②编写程序实现将一个任意的十进制数转换成对应的二进制数 要求: ①用栈的基本操作来实现(具体栈的存储结构可用顺序栈也可用链栈) 十进制数由键盘输入,输出对应的二进制数。 ②在初始化队列后,利用入队操作构建具有n个元素的队列并依次输出队列中的元素。在构建的具有n个元素的队列中,执行出队操作,输出出队后队列中的剩余元素(Data structure experiment stack and queue
出栈入栈
- C语言实现出栈入栈的操作,功能可以实现任意次。(The stack operation is realized in C language)
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
栈
- 实现栈的进站和输出查找操作:查找值为x的元素在单链表中出现的位置(是链表中的第几个元素); 4)压栈和弹栈操作; 5)出队和入队操作(顺序存储)(Carrying and output of the stack)
LinkStack
- 链栈的基本操作,创建,插入,删除,查询操作(The basic operations of the chain stack, create, insert, delete, and query)
Stack
- 栈的基本操作,创建,插入,删除,查询操作(The basic operations of the stack, create, insert, delete, and query the operation)
数据结构-c++-栈的验证-实验报告
- 1.实验目的及要求 1.1 实验目的: 1.掌握栈的顺序存储结构 2.验证顺序栈及其基本操作的实现 3.验证栈的操作特性 1.2 实验要求: 1.建立一个空栈 2.对已建立的栈进行插入、删除、取栈顶元素等基本操作(1. the purpose and requirements of the experiment 1.1 the purpose of the experiment: 1. the sequential storage structure of the m
5
- 栈的操作,包括初始化创建,插入和删除元素(Stack operations, including initialization, creation, insertion and deletion of elements)