资源列表
[数据结构常用算法] SequentialSearch
说明:关键词首次出现位置此程序优化了算法,减少了循环的次数。-Keywords for the first time the location of this program optimization algorithms to reduce the number of cycles.<月亮音> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] select_sort
说明:/*选择排序 *从待排序的数中找到最小的元素,放到第一个位置, *从剩下的n - 1个元素中找到最小的元素,放到第二个位置, *依次下去,直到n - 1个元素。 *每次排序都会在待排序的元素中找出一个最小的值放到待排序的数的首段。 */-/* Sort select* find the smallest element from the number to be sorted, and placed in the first position, find the smalle<雷海军> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] beibao
说明:设有一个背包可以放入物品的重量为s,现有n件物品,重量分别为w[0],w[1],...,[n-1]。问题是能否从这n件物品中选择若干件放入此背包中使得放入的重量之和正好等于s。-Has a backpack can be placed in the weights of the articles of s, the existing n items, weight W [0], w [1], ..., [n-1]. The question is whether this certain wei<许晓莹> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] push
说明:用数组实现栈和队列C++ 代码实现,经典-array stack c++<chensonghai> 在 2025-06-15 上传 | 大小:1kb | 下载:0