资源列表
[数据结构常用算法] Huffman
说明:哈夫曼树算法 根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj 在森林中选取两棵根结点权值最小的树作左右子树,构造一棵新的二叉树,置新二叉树根结点权值为其左右子树根结点权值之和 在森林中删除这两棵树,同时将新得到的二叉树加入森林中 重复上述两步,直到只含一棵树为止,这棵树即哈夫曼树 -Huffman tree algorithm based on a given n-weights (w1, w2, ... ... wn), constr<文静> 在 2025-06-18 上传 | 大小:92kb | 下载:0
[数据结构常用算法] InsertSort
说明:直接插入排序 排序过程:整个排序过程为n-1趟插入,即先将序列中第1个记录看成是一个有序子序列,然后从第2个记录开始,逐个进行插入,直至整个序列有序-Direct Insertion Sort to sort the process: the whole process of sorting times for the n-1 insert, that is, first sequence of the first one recorded as an orderly sequence, a<文静> 在 2025-06-18 上传 | 大小:224kb | 下载:0
[数据结构常用算法] QuickSort
说明:快速排序 基本思想:通过一趟排序,将待排序记录分割成独立的两部分,其中一部分记录的关键字均比另一部分记录的关键字小,则可分别对这两部分记录进行排序,以达到整个序列有序-Basic idea of quicksort: sort through the trip, will be to sort records is separated into two independent parts, some of which are recorded in another part of the r<文静> 在 2025-06-18 上传 | 大小:852kb | 下载:0
[数据结构常用算法] AlgorithmUsingJava
说明:<算法导论>第二版大部分算法实现. 1. 各类排序和顺序统计学相关 2. 数据结构 2.1 基本数据结构 2.2 散列表 2.3 二叉查找树 2.4 红黑树 2.5 数据结构基于红黑树的扩张 3. 高级涉及和分析技术 3.1 动态规划相关 3.2 贪心算法相关 3.3 用于不相交集合的数据结构 4. 部分图算法.-<Introduction to Algorithms> Algorithms realize most of<QJGui> 在 2025-06-18 上传 | 大小:317kb | 下载:0
[数据结构常用算法] philosopher
说明:经典的哲学家就餐问题的C语言版本-Power wilt die of hunger laugh mold cavity open string问Questions cavity C Pang Sung-linked版<dsd> 在 2025-06-18 上传 | 大小:2kb | 下载:0
[数据结构常用算法] 2007011139_5
说明:这是清华电子的一个作业题,功能上实现寻求最短的8位数组包含所有数字连接且开头结尾分别包含了所有10个数字-This is an operation of electronic Tsinghua title functions realize the search for the shortest median Section 8 contains all the figures at the beginning of the end of the respective connections a<张巳龙> 在 2025-06-18 上传 | 大小:1kb | 下载:0
[数据结构常用算法] SortAlgorithmInJava
说明:java中几种常用的排序算法。 用Java语言实现的各种排序,包括插入排序、冒泡排序、选择排序、Shell排序、快速排序、归并排序、堆排序、SortUtil等。-java of several commonly used sorting algorithm. Using Java language to achieve a variety of sorting, including the Insertion Sort, Bubble Sort, Selection Sort, Shell<alonso> 在 2025-06-18 上传 | 大小:3kb | 下载:0
[数据结构常用算法] shortestwayalgrithom
说明:经典最短路径算法C C++ 邻接矩阵实现-Classic shortest path algorithm C C++ Realize adjacency matrix<陈晨> 在 2025-06-18 上传 | 大小:1kb | 下载:0