搜索资源列表
Trainnew
- here is a train 火车进站的经典问题 代码很简洁 算法很好的-here is a train train station inlet classic problem is very simple algorithm code of good
station
- 这是数据结构中模拟栈的一个精典例子利用火车进站出站模拟出栈和入栈-This is the data structure of a simulated stack classic examples of using the train station stop simulated stack and pushed
火车重排
- 一列货运列车共有n节车厢,每节车厢将停放在不同的车站。假定n个车站的编号分别为1~n,车厢的编号与它们的目的地相同。货运列车按照从第n站至第1站的次序经过这些车站。为了便于从列车上卸掉相应的车厢,必须重新排列车厢,使各车厢从前至后按编号1~n的次序排列。当所有的车厢按照这种次序排列时,在每个车站只需卸掉最后一节车厢即可。可以在一个转轨站里完成车厢的重排工作,在转轨站中有一个入轨,一个出轨和k个缓冲铁轨(位于入轨和出轨之间)。
station
- 这是数据结构中模拟栈的一个精典例子利用火车进站出站模拟出栈和入栈-This is the data structure of a simulated stack classic examples of using the train station stop simulated stack and pushed
Trainnew
- here is a train 火车进站的经典问题 代码很简洁 算法很好的-here is a train train station inlet classic problem is very simple algorithm code of good
train
- 火车进站排列 这个程序主要用是队列来实现利用队列结构实现车厢重排问题,同时还结合 了异常处理 -Train stop with this procedure are mainly used to achieve the use of queue queue rearrangement inside the structure of implementation questions, but also a combinatio
dr
- 完成火车站的排序,利用堆栈完成。比如进站的火车为3辆 可排除所有的出战可能-Order to complete the railway station, the completion of the use of the stack. For example, the train stops for all three can be ruled out of play may
train
- 数据结构小程序,实现火车进站出站的最优算法-Data structure of small procedures, the train stops to achieve the optimal algorithm outbound
stack
- 火车车厢进站问题。关于实现火车车厢按顺寻进站然后按顺序出站的问题-Train carriages stop the problem. On the realization of the train cars and then stop by Shun find the problem in order outbound
Rails
- 解决Rails问题,即著名的火车进站之后排队问题的一种算法-solve the problem of rails
zuihou
- 学习数据结构的材料,一个关于火车进站出站的算法,队列的操作-Study the data structure of the material, a station algorithm, queue operations on the station.
Rails
- 使用队列和栈来模拟火车进站出战的过程。 有信息显示。代码有注释-Use the queue and stack to simulate the train came into the station played. Information display. Code annotated
itimate-station
- 模仿火车进站出站的过程,判断能否实现,例如以1,2,3,4,5的方式进站,判断以5 2 1 4 3 能否出站-Imitate the train station stop a process to determine whether the implementation, such as 1,2,3,4,5 way to stop, in order to determine whether the 52,143 outbound
trains_out
- 火车出站问题,一列有n节车厢的火车,每节车厢进站出站为先进后出的机制,求所有可能的车厢出站顺序-The train station problem, there is an n carriages of the train, each car is inbound outbound, last-out mechanism, to do everything possible car outbound order