资源列表
[数据结构常用算法] huffman
说明:利用二叉树结构实现赫夫曼编/解码器。 1、初始化(Init):能够对输入的任意长度的字符串s进行统计,统计每个字符的频度,并建立赫夫曼树 2、建立编码表(CreateTable):利用已经建好的赫夫曼树进行编码,并将每个字符的编码输出。 3、编码(Encoding):根据编码表对输入的字符串进行编码,并将编码后的字符串输出。 4、译码(Decoding):利用已经建好的赫夫曼树对编码后的字符串进行译码,并输出译码结果。 5、打印(Print):以直观的方式打印赫夫曼树。6、计<林佳> 在 2025-06-16 上传 | 大小:1.08mb | 下载:0
[数据结构常用算法] the-process-of-scheduling-algorithm-
说明:进程调度算法,包括先来先服务,短进程优先,高响应比优先,时间片轮转调度,优先级调度算法,-Process scheduling algorithms, including the first come first served, short process priority, high-response than the priority, round-robin scheduling, priority scheduling algorithm, the process of scheduli<殷学廉> 在 2025-06-16 上传 | 大小:1.08mb | 下载:0
[数据结构常用算法] b
说明:实验目的:掌握用线性表实现一元多项式的基本运算。 实验内容:使用链式存储实现一元多项式的加法、减法、乘法和求导。-Purpose: to master the linear meter to achieve one yuan polynomial of basic operations. Experiment: Using the chain store to realize one yuan polynomial addition, subtraction, multiplicati<刘忠威> 在 2025-06-16 上传 | 大小:1.08mb | 下载:0
[数据结构常用算法] Minimum-Spanning-Tree
说明:使用邻接矩阵生成最小生成树的算法,须输入顶点数目,顶点数据以及邻接矩阵的数据。-Adjacency matrix generated minimum spanning tree algorithm, the input data must be the number of vertices, vertex data and adjacency matrix.<> 在 2025-06-16 上传 | 大小:1.08mb | 下载:0
[数据结构常用算法] Kill Game (List)
说明:约瑟夫环的方式实现杀人游戏算法,实现简单,可供学习参考(The way of Joseph ring to realize the homicidal game algorithm is simple and can be used for reference.)<天明820 > 在 2025-06-16 上传 | 大小:1.08mb | 下载:0