资源列表
[数据结构常用算法] kmp_test
说明: 实现KMP算法,输入三组主串S和模式串P,输出模式串的Next(j)函数值,以及该P在S中的位置的定位函数值,即序号值。其中S的长度为15~25,P的长度为5~8。-KMP algorithm, enter the three main string S and pattern string P output mode string Next (j) The function value, as well as the P position in the S orientation funct<雨落> 在 2025-06-12 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Huffman_2
说明:对输入的一串电文字符实现赫夫曼编码,再对赫夫曼编码生成的代码进行译码,输出电文字符串。要实现赫夫曼树德算法,首先要实现在HT[1.k]中选择parent为0且权值最小的两个根结点的选择算法;另外,还要一个实现统计输入电文字符串中各种字符出现的频率以及字符的种类的算法。假设电文中仅含有大写字母。-For the entry of a string of message character realize hoffman (coding, again to hoffman (code generat<zy> 在 2025-06-12 上传 | 大小:1kb | 下载:0
[数据结构常用算法] bahuanghouwenti
说明:八皇后问题,实现相应功能,代码正确、希望可以帮到需要的人-Eight queens problem<吴振林> 在 2025-06-12 上传 | 大小:1kb | 下载:0
[数据结构常用算法] xianxingbiao
说明:线性表的删除、插入、查询等功能。线性表也是我们最常接触的基本知识-Linear form to delete, insert, query and other functions. Basic knowledge of linear form is the most common contact<吴振林> 在 2025-06-12 上传 | 大小:1kb | 下载:0