资源列表
[数据结构常用算法] 用分枝定界法求解TSP
说明:分支定界法可以求解小规模的TSP问题,这个例子是用vc编写的-branch and bound method can solve small-scale TSP, this example was prepared by the vc<yy> 在 2025-06-11 上传 | 大小:160kb | 下载:0
[数据结构常用算法] sortlinktabel
说明:对链表进行排序,时间复杂度O(n2),类似于插入排序的思想-right sort, time complexity O (n2), similar to the sequencing of the insert thinking<苗建新> 在 2025-06-11 上传 | 大小:160kb | 下载:0
[数据结构常用算法] MajoritySearch
说明:C语言实现的寻找多数元素代码,含英文注释。算法采用《算法设计技巧与分析》(沙特)一书上的方法。-C language code for most elements, including English notes. The algorithm uses "algorithm design and analysis skills" (Saudi Arabia) method.<刘志> 在 2025-06-11 上传 | 大小:159kb | 下载:0
[数据结构常用算法] primenumber
说明:输入一个数字,按回车,然后输出能被这个数整除的所有数。也可以变换下程序用以检测输入的数字是否是质数(或素数)。-Enter a number, press Enter, and then output this number can be divisible by all the numbers. Transformation program can also detect whether the input to digital is a prime number (or prime).<鸣寒> 在 2025-06-11 上传 | 大小:159kb | 下载:0