搜索资源列表
shujujiegou
- 数据结构课件 包含链表的建立、排序、栈、树已经图的应用等。-Data structure contains the list of the establishment of software, sort, stack, tree has map applications.
4
- [问题描述] 设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在它之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开停车场时必须按它停留的时间长短交纳费用。试为停车场编制按上
template
- 数据结构的一些代码,包含链表,栈,树,图等,源代码内容翔实,正确-Some of the code data structures, including linked lists, stacks, trees, maps, informative source code, the correct
List-nodes-sorted
- 链表指针,节点进栈出栈,节点的排序,节点的删除-Linked list pointer node into the stack, stack, sort of node, node deletion
shiyan5
- 以二叉链表表示二叉树,实现二叉树先序遍历、中序遍历、后序遍历的递归算法;直接利用栈的基本操作,实现二叉树先序遍历的非递归算法。-Binary list, binary tree, Binary Tree, Inorder traversal, recursive algorithm after preorder direct use of the basic operation of the stack, the non-recursive algorithm Binary Tree.
parking-lot
- 以栈模拟停车场,以队列模拟车场外的便道,按照从终端读入数据的序列进行模拟管理。每一组输入数据包括三个数据项:汽车的“到达”(‘A’表示)或“离去”(‘D’表示)信息、汽车标识(牌照号)以及到达或离去的时刻。对每一组输入数据进行操作后的输出信息为:若是车辆到达,则输出汽车在停车场内或者便道上的停车位置;若是车辆离去,则输出汽车在停车场停留的时间和应缴纳的费用(便道上停留的时间不收费)。栈以顺序结构实现,队列以链表结构实现。-Parking in the stack simulation to si
hannuota
- 数据结构的通过栈实现汉诺塔的程序,主要用到递归的思想,以及栈和链表以及数组的知识。-Data structures through the stack HANOR program, mainly used recursive thought and knowledge as well as an array of stacks and lists.