搜索资源列表
paking
- 一个模拟停车场的控制台程序,利用栈和队列来完成停车功能,并有计费功能-A simulated car park console procedures, the use of stack and queue to complete the parking functions, and billing functions
Alex
- 大二数据结构实验课的几个源码(顺序表的合并、多项式的合并、栈和队列的基本操作、稀疏矩阵的运算、二叉树基本操作、图的存储和应用)-Experimental data structure sophomore class several source (the order form merger, the merger of polynomial, stack and the basic operation of the queue, sparse matrix computation, the ba
hanoi
- 数据结构栈和队列的算法实现,实验内容:汉诺塔问题。程序结果给出程序执行过程中栈的变化过程与圆盘的搬动状态。-Stack and queue data structure of the algorithm, experimental elements: Tower of Hanoi problem. Procedures for the implementation of the results of the proceedings given the changes in the course
4
- [问题描述] 设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在它之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开停车场时必须按它停留的时间长短交纳费用。试为停车场编制按上
shiyan3
- 这个压缩格式关于栈,队列和递归数据结构源代码-The compression format on the stack, queue, and recursive data structure source code
qqq
- C++中运用栈和队列实现杨辉三角的运算源码-C++ use of stack and queue source computing Pascal' s Triangle
LINK_Stack_Queue
- 栈和队列 栈的概念,存储结构及其基本操作 队列的概念、存储结构及其基本操作 栈与队列的应用举例 -The concept of the stack stacks and queues, queue storage structure and its basic operation concept, structure and basic operation of the storage stack and queue Application examples
shujujiegou
- 1. 实验目的:掌握栈与队列的基本结构和操作方法,并能利用其解决实际问题。 实验内容:假设称正读与反读都相同的字符序列成为“回文”,试写出一个算法判别输入的一个以“@”为结束符的字符序列是否“回文” -1. Experimental Objective: To master the stack and queue the basic structure and methods of operation, and can use them solve practical problems.
stack
- 运用C语言的数据结构部分,关于栈和队列的学习资料。-Part of the data structure, stacks and queues on learning materials.
Cache
- 利用栈队列实现的停车管理系统,和计费问题-Parking Management System
parking-lot
- 以栈模拟停车场,以队列模拟车场外的便道,按照从终端读入数据的序列进行模拟管理。每一组输入数据包括三个数据项:汽车的“到达”(‘A’表示)或“离去”(‘D’表示)信息、汽车标识(牌照号)以及到达或离去的时刻。对每一组输入数据进行操作后的输出信息为:若是车辆到达,则输出汽车在停车场内或者便道上的停车位置;若是车辆离去,则输出汽车在停车场停留的时间和应缴纳的费用(便道上停留的时间不收费)。栈以顺序结构实现,队列以链表结构实现。-Parking in the stack simulation to si
four-kinds-of-agrithom
- 四则运算:运用栈和队列的基本知识进行整数的四则运算。-Four operations: the use stack and queue basics integer of four operations.
2
- 1. 实现顺序栈的基本操作(初始化、判断栈空、判断栈满、入栈、出栈)。 1) 从键盘输入一系列整数,当输入值为0时,停止输入,产生顺序栈。 2) 实现入栈操作,输入需入栈的值,如入栈成功,显示“入栈成功!”,否则显示“入栈失败!”并说明失败原因。 3) 实现出栈操作,如出栈成功,显示“出栈成功!”,否则显示“出栈失败!”并说明失败原因。 4) 顺序栈中元素依次出栈,并显示 。 2. 实现循环队列的基本操作(初始化、判断队空、判断队满、入队、出队)。 1) 从键盘输入一