资源列表
[数据结构常用算法] fanxinsuanfa
说明:定义一个vector,元素类型为INT,插入10个随机数,使用sort按升序排序,输出每个元素的值,再按降续排序,输出每个元素的值,练习用find查找元素,用min和max找出容器中的最小元素和最大元素,并输出。-Define a vector, the elements of type INT, insert 10 random numbers, use the sort ascending sort, the output value of each element, and then dr<唐亮> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] the_k_shortest_path
说明:第k短路算法,用A*算法和优先队列实现。查找任意两点间的第k短路,时间复杂度O(NLOGN)-K-shortest path algorithm, A* algorithm and priority queue. Find the first k short circuit between any two points, the time complexity of O (NLOGN)<scarlett> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] the-num-k-element
说明:寻找中项和第k小元素 通过使用线性时间分析的数学方法 从而找到第k小元素 而不用排序以后再找-you can find the middle element and the num k element in a array which is not originally sorted<vincent> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] layersequence
说明:layersequence,主要是数据结构算法中初级的一种,本程序时其一个简单的应用-layersequence is about alogrithom<JackeCheng> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] PriorityQueue
说明:泛型化的优先级队列(最小堆),用C++实现 使用前应重载小于号 -Generic priority queue(the minimum heap) with C++ achieve<刘天元> 在 2025-06-16 上传 | 大小:1kb | 下载:0