资源列表
[数据结构常用算法] T_ShortestPath
说明:求最短路径的C++ 源代码 ,用很简单的数据结构实现的,运行速度很快-The shortest path for the C++ Source code, using very simple data structure to achieve, to run fast<t> 在 2025-06-10 上传 | 大小:740kb | 下载:0
[数据结构常用算法] SimpleLISP
说明:一个简单的LISP算术表达式计算器。 简单LISP算术表达式定义如下: (1)一个0....9的整数 (2)(运算符 表达式 表达式) 例如,6,(+45),(+(+25)8)都是表达式,其值分别为6,9,15.-LISP a simple arithmetic expression calculator. LISP simple arithmetic expressions are defined as follows: (1) a 0 .... 9 integer (2)<甄奇> 在 2025-06-10 上传 | 大小:2kb | 下载:1
[数据结构常用算法] 2008-BUCT-ACM-ICPC-Report
说明:北京化工大学2008年暑期集训一次训练的解题报告和核心代码-Beijing University of Chemical Technology in 2008 summer training report of a problem-solving training and core code<Harder> 在 2025-06-10 上传 | 大小:254kb | 下载:0
[数据结构常用算法] 36f37e30ce6a6166ed7d745b70b0f7c8
说明:基于SDL的关于二叉树计算的源代码,是TXT的一些程序-SDL-based binary tree calculated on the source code, are some of the procedures TXT<平平> 在 2025-06-10 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Huffman
说明:哈夫曼树算法 根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj 在森林中选取两棵根结点权值最小的树作左右子树,构造一棵新的二叉树,置新二叉树根结点权值为其左右子树根结点权值之和 在森林中删除这两棵树,同时将新得到的二叉树加入森林中 重复上述两步,直到只含一棵树为止,这棵树即哈夫曼树 -Huffman tree algorithm based on a given n-weights (w1, w2, ... ... wn), constr<文静> 在 2025-06-10 上传 | 大小: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-10 上传 | 大小: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-10 上传 | 大小: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-10 上传 | 大小:317kb | 下载:0
[数据结构常用算法] philosopher
说明:经典的哲学家就餐问题的C语言版本-Power wilt die of hunger laugh mold cavity open string问Questions cavity C Pang Sung-linked版<dsd> 在 2025-06-10 上传 | 大小: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-10 上传 | 大小:1kb | 下载:0