资源列表
[数据结构常用算法] adjlist.c
说明:it is easier to work with a graph which is in adjacency list format: a list of vectors each vector contains the neighbor vertices or incident edges of a given vertex. -it is easier to work with a graph which is in adjacency list format: a list of vec<adweda> 在 2025-06-14 上传 | 大小:5kb | 下载:0
[数据结构常用算法] 1
说明:设有n件工作分配给n个人,将工作i分配给第j个人所需要的费用为Ci。试 设计一个算法,为每一个人都分配1件不同的工作,并使总费用达到最小。-suppose n pieces of work are arranged to n persons, it costs Ci to arrange work i to people j. design a algorithm to make it cost least and to make sure that everyone get one diffe<lch> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] FunPointer
说明:C/C++中的函数指针的声明和使用,与C#中的委托类似,可以实现类似范型的功能。-The sample of function pointer in C/C++.<zoucw> 在 2025-06-14 上传 | 大小:178kb | 下载:0
[数据结构常用算法] DirectSort
说明:运用C/C++实现直接插入排序法,供参考。-The sample of direct sort method.<zoucw> 在 2025-06-14 上传 | 大小:1.39mb | 下载:0
[数据结构常用算法] CreateTree
说明:用递归方法创建二叉树的算法,会提示某节点左儿子和右儿子的输入,避免一次输入所有节点导致出错的情形-Recursive method to create the binary tree algorithm, a node will be prompted son left and right inputs son, enter all the nodes to avoid a situation that caused the error<rj> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] PetersonAlgorithm
说明:线程同步问题的的Peterson算法的经典解决办法-Thread synchronization problem of the classical solution Peterson algorithm<赵晨丘> 在 2025-06-14 上传 | 大小:877kb | 下载:0