资源列表
[数据结构常用算法] Sorting-Algorithm
说明:本排序算法大全包括快速排序算法、堆排序算法、希尔排序算法等等,代码简洁、高效,可直接运行。-The sorting algorithm Guinness including fast sorting algorithm, heap sort algorithm, Hill sorting algorithm, etc., code simple, efficient and can be directly run.<shenfengchen> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] tireTree_1
说明:这是一个用C++实现的单词树,对于学习数据结构与算法的同学进阶有很大作用-This a tireTree algorithem code by c++<JOSEPH> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] xichuan
说明:现有喜串定义如下。a 与b 互为喜串需满足以下两个条件之一: 1. a 和b 相同。 2. 将a 分成a1 与a2 两个等长串,b 分成b1 与b2 两个等长串,其子串需满足以下两个条件之一: a) a1与b1互为喜串且a2 与b2 互为喜串。 b) a1与b2互为喜串且a2 与b1 互为喜串。任务: 判断给定的两个串是否互为喜串-Hi existing string defined below. a and b mutually hi string must meet one o<qijia> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Joseph
说明:约瑟夫(Joseph)问题的一种描述是:编号为1,2,..., n 的n 个人按顺 时针方向围坐一圈, 每人持有一个密码(正整数)。一开始选任一个正整数作 为报数上限值m, 从第一个人开始按顺时针方向自1开始顺序报数,报到m时 停止报数。报m的人出列,将它的密码作为新的m值,再从下个人开始新一轮 报数,如此反复,直到剩下最后一人则为获胜者。试设计一个程序求出出列顺 序。-Joseph (Joseph) a descr iption of the problem is: th<zhujiei> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] E_Malevich-Strikes-Back!
说明:Ural 1221 Malevich Strikes Back代码,简洁明了,通过搜索正方中心坐标并判定来实现- After the greatest success of Malevich s Black Square the famous artist decided to create a new masterpiece. He took a large sheet of checked paper and filled some cells with black. After tha<Jerry> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Knapsack-problem
说明:假设有一个能装入总重量为T的背包和n 件重量分别为W1,W2,W3,...,Wn的物品。编写算法从n件物品中挑选若干件恰好装满背包,即使得Wi1+Wi2+...+Win=T.(W旁边的字符皆为角标)。要求找出满足条件的所有解。-Suppose there is a load of T of the total weight of W1, N, W2, W3, Wn. Algorithm is compiled n items selected several pieces just loade<chenchen> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Linear-table-operation
说明:1,线性表在顺序存储结构上的建立、插入、删除运算。 2,线性表在链接存储结构上的建立、插入、删除运算。-1, the establishment, insertion and deletion of the linear table in the sequential storage structure. 2, the linear table in the link storage structure, the establishment, insertion, delete ope<chenchen> 在 2025-06-08 上传 | 大小:1kb | 下载:0