资源列表
migong
- 数据结构堆栈的经典应用: /*一:迷宫问题用堆栈的方法: 求迷宫中一条从入口到出口的路径的算法可简单描述如下: 设定当前位置的初值为入口位置: do{ 若当前位置可通, 则{ 将当前位置插入堆栈顶 若该位置是出口位置,则结束 否则切换当前位置的东邻块为新的当前位置 } 否则, 若堆栈不空且栈顶位置尚有其他方向未经探索 则设定新的当前位置为沿顺时针方向转到的栈顶位置的下一相邻块 若栈不空但栈顶位置的四周均不可通,
tushendu
- 图的深度遍历,输出结果为(红色为键盘输入的数据,权值都置为1): 输入顶点数和弧数:8 9 输入8个顶点. 输入顶点0:a 输入顶点1:b 输入顶点2:c 输入顶点3:d 输入顶点4:e 输入顶点5:f 输入顶点6:g 输入顶点7:h 输入9条弧. 输入弧0:a b 1 输入弧1:b d 1 输入弧2:b e 1 输入弧3:d h 1 输入弧4:e h 1 输入弧5:a c 1 输入
hello
- 图的邻接矩阵存储结构 图的优先深度遍历
helanguoqi
- 数据结构书中,荷兰国旗问题,标准原代码,C语言实现-Data structure book, issue of the Netherlands national flag, the standard source code, C language
divide
- 学算法时写的程序了,这里时分治的算法,包括归并排序和快速排序。供大家参考-Learning algorithm when the written procedure, the algorithm rule around here, including the merge sort and quick sort. For your reference
ShortestPath_Djk-complexnetworks
- 复杂网络最短路径算法,详细而有条理,很有帮助-Complex network shortest path algorithm, detailed and structured, very helpful
dazhengshu
- 找最大整数
huffman
- Huffman树形结构,结构体的建立,树的建立、查找、删除-Huffman tree structure, the structure of the establishment, the establishment of the tree, find, delete ... ...
Cpp_struct_ch01
- data structure code for C++ -data structure code for C++ ch1
C-program
- 6个C语言源代码,有大小排序,素数查找,解方程,冒泡排序等-6 C language source code, size sorting, prime numbers to find, solving equations, bubble sort
banker
- 操作系统 银行家算法 迪克施特拉算法,很管用很好的-banker started soijfso sdfi
twol
- 二叉树的建立与遍历 可实现: (1)树的创建采用先序方式,用特殊符号0表示左、右子树为空 (2)每次输入一个节点的值,可以根据自己的需要设计不同的节点结构 (3)节点的值为非零数 (4)可以()形式输出创建的树 (5)用先序后序和中序遍历树 (6)销毁树
