资源列表
[数据结构常用算法] shuanfa2
说明:求图的任两结点间的距离,(2) 用二维数组存放C和A ,C是原成本矩阵,A 是求出的距离矩阵 (3) 算法采用三重循环,其中最外层的循环变量必须代表中间结点,中层的循环变量代表头结点而内层循环变量代表尾结点。 (4) 试着把三层循环变量的顺序作些改变,最外层的循环变量仍代表中间结点,而中层循环变量代表尾结点,内层循环变量代表头结点。把两种做法所得结果作比较,看结果是否相同 (5) 显示结果要清晰易懂 (6) 本题运行结果 -Order to map any of the di<lixiang> 在 2025-06-09 上传 | 大小:933kb | 下载:0
[数据结构常用算法] shuanfa3
说明:(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来自bi), 第4行存放0或1(0代表作业序号未进入最优调度方案;1代表作业序号已进入最优调度方案) (2) 排序完后,按课本所述方法求一种最优调度方案,存放在S中。 -(1) with a 4* 20 two-dimensional array M, the first a line to deposit a small to l<lixiang> 在 2025-06-09 上传 | 大小:843kb | 下载:0
[数据结构常用算法] stackQueue
说明:数据结构栈和队列相关练习,让你熟练掌握掌握它们的用法,迅速编程-Stack and queue data structure practice, so that you master<Fangming> 在 2025-06-09 上传 | 大小:9kb | 下载:0
[数据结构常用算法] Dijsktra
说明:本程序用c++实现了地杰斯特拉算法,即求最短路径,这一个关于算法的小程序,是关于数据结构中求最短路径的一次演示-This procedure using c++ implementation of the land Jiesitela algorithm, that is, seeking the shortest path, this one on the algorithm for a small program on the data structure in seeking the sh<monzart> 在 2025-06-09 上传 | 大小:1.8mb | 下载:0
[数据结构常用算法] tree_two
说明:二叉树操作实例,包括 1 建立二叉树 2 先序非递归遍历 3 中序递归遍历 4 后序递归遍历,求叶节点数 5 删除节点 6 结束程序运行 等操作。输入数字1~6,选择以上6种操作。-Examples of binary operations, including the establishment of a binary tree two first order non-recursive inorder traversal three recursive postorder traversal<董金勇> 在 2025-06-09 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Topo_logical_Order_7_12D
说明:拓扑排序,并求关键路径.按UDG图的格式输入,程序创建UDG图,然后求关键活动,进行拓扑排序,最后将拓扑排序的结果输出。-Topological sort, and seek the critical path. By UDG graph format input, the program creates UDG chart, key activities and then seek to carry out topological sort, and finally output the re<董金勇> 在 2025-06-09 上传 | 大小:2kb | 下载:0