资源列表
[数据结构常用算法] least-common-ancestor
说明:Tarjan的脱机最小公共祖先问题,里面使用了pair,map以及结构体等相关结构-Tarjan off-line least common ancestors problem<lixiaobo> 在 2025-06-22 上传 | 大小:2kb | 下载:0
[数据结构常用算法] introduction-to-algorithm
说明:算法导论第三版书里的部分代码(大约到第22章,22章之后的代码稍后会更新)。-introduce to algorithm,this compressed file includes all the source code before chapter 22 (including 22), which all are writen by myself.<lixiaobo> 在 2025-06-22 上传 | 大小:317kb | 下载:0
[数据结构常用算法] 0-1-backpack
说明:本代码提供0-1背包问题的动态规划解法,适用于背包容量是整数类型-The code provides 0-1 knapsack problem dynamic programming solution for the backpack capacity is an integer type<xiaoran> 在 2025-06-22 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Test
说明:有序顺序表的二分查找的递归算法。 对输入数据构造二叉查找树 ,建立二叉查找链表结构,并能实现查找、插入、删除等操作 -Binary recursive algorithm to find an orderly sequence table. Find the input binary tree data structure, build a binary search list structure, and can achieve search, insert, and delete o<王保全> 在 2025-06-22 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Test6
说明:最短路径算法。 用无向带全图的邻接矩阵存储图,确定从源点出发到其它各点的最短路径。 输入:图中包含的顶点数n 边数m, 各边权值,用邻接矩阵或者邻接表存储。 输出:源点到其它各点的最短路径值。-Shortest path algorithm. Adjacency matrix storage with undirected graph with a full figure, determine the starting point of the shortest path from<王保全> 在 2025-06-22 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Floyd-algorithm---h
说明:图也是数据结构中主要的一块,锁业它的重要性就不用说了,在这个算法汇总可以看到有向图和无向图-Data structure diagram is also a major piece of its importance, lock industry, needless to say, this algorithm is summarized in the graph and you can see that there are undirected graph<lht> 在 2025-06-22 上传 | 大小:255kb | 下载:0