资源列表
[数据结构常用算法] huofumanbianma
说明:对一段文字实现霍夫曼编码,并输出编码后的数据段,也可恢复至未编码的文字-Huffman code for a text to achieve, and output the encoded data segment, can be restored to not encoded text<kjh> 在 2025-06-20 上传 | 大小:541kb | 下载:0
[数据结构常用算法] Large-integer
说明:实现较大整数的加减乘除等运算,可运行-Achieve a larger integer addition, subtraction and other operations can be run. . . .<kjh> 在 2025-06-20 上传 | 大小:671kb | 下载:0
[数据结构常用算法] test10
说明:(1) 掌握图的邻接矩阵、邻接表、十字链表等不同存储形式的表示方法。 (2) 掌握图的两种不同遍历方法的基本思想并能编程实现。 (3) 掌握构造最小生成树的两种算法,即Prim 算法和Kruscal算法的思想,并能编程实现。 (4) 能够灵活运用图的相关算法解决相应的实际问题。 -(1) master the adjacency matrix, adjacency list, cross-linked forms of representation of different st<yuan li> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] First-Heapsort
说明:我的第一次自己写的堆排序算法,希望大家好好看,其实是为了凑字数-My first time to write their own heap sorting algorithm, I hope you look good, in fact, is to scrape together words<刘星辰> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] cengxubianli
说明:层序遍历二叉树算法,构建一个二叉树,然后对其进行层序遍历-Sequence binary tree traversal algorithm, to build a binary tree, and then traverse its sequence<夏天> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] MyHashMap
说明:因工作原因,需要实现数据的快速查找与维护,因为是用C语言实现,所以写了一个通用的算法,实现了与数据结构无关。当时这一部分用在了一个实时交通信息上。 -Due to work, quickly find the data needed to achieve and maintain, because it is written in C language, so write a generic algorithm, has nothing to do with the data structu<宋江华> 在 2025-06-20 上传 | 大小:11kb | 下载:0
[数据结构常用算法] Try-to-write-A-more-B
说明:设A=(a1, ……,am)和B=(b1,……,bn)均为顺序表,A’和B’分别为A和B中除去最大共同前缀后的子表 试写一个比较A,B大小的算法-Set A = (a1,......, am) and B = (b1,......, bn) are all order list, A "and" B for A and B were removed after the son of the most common prefix table Try to write A more A, B<叶子> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Find-the-majority-element
说明:寻找多数元素,输入N数字,查找输入数字中是否存在多数元素-Find the majority element, enter N numbers, enter a number to find the existence of the majority of elements<奥斯卡> 在 2025-06-20 上传 | 大小:331kb | 下载:0