资源列表
[数据结构常用算法] cynjj
说明:给定如下元素的数组,根据最大堆的结构,说明对这些数组按递增顺序进行堆排序的步骤,并确定它们所执行的元素比较次数。-Given the following array of elements, based on the maximum heap structure indicates that these arrays are sorted in ascending order of the steps heap sort and identify the elements of the impl<cheya> 在 2025-07-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Merge_Quick
说明:排序算法,关于merge和quicksort的算法实现,适合其他初学算法的人下载-Sorting algorithm, quicksort algorithms on the merge and the realization of the algorithm is suitable for downloading to other beginners<wangsa> 在 2025-07-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] huffmancode
说明:有关huffman编码的具体实现的源代码,算法参考严蔚敏版算法课本的huffmancode伪代码,供初学者参考-Concrete realization of the huffman encoding the source code, algorithm reference Yan Wei-min version of the textbooks huffmancode algorithm pseudo-code for beginners reference<wangsa> 在 2025-07-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 1404_IKeyBoard
说明:题目是PKU 1404 I KEY BOARD。这是用C++实现的代码-It a the C++ solution of problem-1404 in PKU ACM on-line judge<jess> 在 2025-07-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] collectioncaculator
说明:运用顺序表的基本运算。(插入、删除) 1)集合的数据类型为一个结构体,其中包括一个数组用来存放集合元素,一个整型数据来统计集合元素的个数。生成两个集合A和B。 2)将集合中的元素按照从小到大排序。具体方法为:从第二个元素起(i),依次扫描每个元素前面的所有元素(j),若i<j,则将j插在i的前面,结束对i的排序,照这个方法,再依次对i后的元素进行排序。 3)求两集合的并:生成一个新集合C,将集合A的元素复制过来,对集合B的元素依次进行扫描,若没有该元素,则插入,若已存在,则扫描<weiwei> 在 2025-07-21 上传 | 大小:1kb | 下载:0