资源列表
[数据结构常用算法] ErChaPaiXuShu
说明:1)写一算法建立有n个结点的二叉排序树; 2)写一算法实现在二叉树中查找值为x的结点是否存在;若存在返回1;否则返回0。 -1) Write an algorithm to establish a n-node binary sort tree 2) Write an algorithm to find the value in the binary tree node x, if there if there exists return 1 otherwise returns<张敏> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] dongtaiguigua
说明:这是动态规划的训练资料,非常有用的,对于我们学习算法,南开大学内部资料-this is dong tai gui hua zi liao ,naikai university has it ,it is very helpful<周灵> 在 2025-06-08 上传 | 大小:468kb | 下载:0
[数据结构常用算法] jinzixingyouxi
说明:这是一个c++小游戏,叫“井字形”游戏,三个子连在一起就可以赢了-This is a c++ game, called " well-shaped" game can be linked to three sub-win<周灵> 在 2025-06-08 上传 | 大小:332kb | 下载:0
[数据结构常用算法] tongjizifugeshu
说明:这是c语言写的一个程序,统计字符串中每个字母出现的个数-This is a program written in c language, statistics string number of each letter appears<周灵> 在 2025-06-08 上传 | 大小:372kb | 下载:0
[数据结构常用算法] shortest_path
说明:最短路径演算法 (Dijkstra),可以直接在电脑执行。-The shortest path algorithm (Dijkstra), can be directly in the computer to perform.<黄大头> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] GreedySelector
说明:设有n个活动的集合E={1,2,…,n},其中每个活动都要求使用同一资源,如演讲会场等,而在同一时间内只有一个活动能使用这一资源。每个活动i都有一个要求使用该资源的起始时间si和一个结束时间fi,且si <fi 。如果选择了活动i,则它在半开时间区间[si, fi)内占用资源。若区间[si, fi)与区间[sj, fj)不相交,则称活动i与活动j是相容的。也就是说,当si≥fj或sj≥fi时,活动i与活动j相容。-With n-set of the activities of E = (1<lily> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] KnapsackProblem
说明:问题:已知有n种物品和一个可容纳M重量的背包,每种物品i的重量为wi。假定将物品i的一部分xi放入背包就会得到pixi的效益,这里,0≤xi≤1,pi>0。如果这些 物品重量的和大于M,要求所有选中要装入背包的物品总重 量不得超过M,而装入背包物品获得的总效益最大。-Question: are known to have n kinds of goods and M can hold the weight of a backpack, the weight of each item<lily> 在 2025-06-08 上传 | 大小:1kb | 下载:0