资源列表
[数据结构常用算法] Huffman
说明:通过该程序实现huffman编码,解码。输入一段字符串,统计字符出现频率,输出huffman编码。输入一段编码,根据预先设定的解码方式进行解码。-Through the process to achieve huffman encoding and decoding. Enter a string, statistical character frequency, the output huffman coding. Enter a code, based on pre-set decoding<许娜娜> 在 2025-06-08 上传 | 大小:945kb | 下载:0
[数据结构常用算法] graph
说明:该压缩文件中包含了图论当中的一些重要算法,包括前序中序和后序遍历、最小二叉树、DFS、BFS以及拓扑排序。-The compressed file contains a graph theory among a number of important algorithms, including the former order in the order and postorder traversal, the smallest binary tree, DFS, BFS, and topolog<许娜娜> 在 2025-06-08 上传 | 大小:926kb | 下载:0
[数据结构常用算法] binguankefang
说明:这是利用数据结构只是写的一个宾馆客房管理小程序,可以完成基本的管理程序的功能,包括输入输出信息,输入修改记录等。-This is the use of the data structure is written in a hotel room management of small programs that can perform basic functions of management process, including the input-output information, inp<许娜娜> 在 2025-06-08 上传 | 大小:4kb | 下载:0
[数据结构常用算法] ds_1
说明:1.定义线性表的链式存储结构 2.在线性表的链式存储结构上,编写函数实现链表的初始化,插入、删除,输出、销毁等算法。-1. The definition of a linear form chain storage structure 2. Online sex store chain structure of the table, write a function to achieve the initialization list, insert, delete, export, des<Yvonne> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ds_2
说明:1.定义顺序栈的数据结构 2.编写函数实现的栈的初始化、入栈、出栈、判断栈是否为空的算法,并应用与表达式的括号匹配检测。 3.定义队列的链式数据结构 4.编写函数实现链队列的入队列、出队列算法-1. Stack data structure defines the order of 2. Write a function to achieve the initialization of the stack, stack, out of the stack, to determine<Yvonne> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ds_3
说明:1.定义串的顺序存储结构。 2.编写函数实现串的初始化、分配、取子串算法 3.编写函数据实现串的模式匹配-1. The definition of the order of string storage structure. 2. The initialization string write function implementation, distribution, taking sub-string algorithm 3. Write a function, according<Yvonne> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ds_4
说明:1.定义二叉树的链式数据结构。 2.编写函数,创建下图所示的二叉树。 3.编写函数输出二叉树的先序、中序、后序遍历。-1. The definition of binary tree data structure chain. 2. Write a function, create a binary tree as shown in figure below. 3. Write function, the output of the first binary sequence, in o<Yvonne> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ds_5
说明:1.定义图的数据结构。 2.编写函数,用邻接表实现图的存储结构,求图的顶点的度数。 3.编写函数,输出图的遍历序列。-1. The definition of graph data structure. 2. Write a function, using adjacency list implementation diagram of the storage structure, find the vertex of degree. 3. Write a function, the o<Yvonne> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ds_6
说明:1.定义哈希表数据结构。 2.除留余数法做为哈希函数、 H(key) = key P 用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。 3.编写函数,求查找成功时的平均查找长度(ASL)。-1. Define hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-hashing<Yvonne> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] revcount_MergeSort
说明:统计两个序列中的逆序对。经典的分治法,采用归并排序的框架实现。-Counting reverse pairs<PKUmzhang> 在 2025-06-08 上传 | 大小:2kb | 下载:0