资源列表
[数据结构常用算法] QueueSim
说明:正如我们在第一章所学的,端到端时延中最为复杂和有趣的成分就是排队时延。在这个程序中,可以设置分组发送速率和链路传输速率,你将会看到分组到达和为接受服务而排队。当队列变满时,将会发生分组溢出,也就是丢包-As we learned in the first chapter, end to end delay of the most complex and interesting elements is the queuing delay. In this program, you can set<meihan> 在 2025-06-16 上传 | 大小:3kb | 下载:0
[数据结构常用算法] jos
说明:数据结构作业 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。-2, Joseph (Josephus) loop problem: number 1,2,3, ..., n, n individuals sittin<meihan> 在 2025-06-16 上传 | 大小:8kb | 下载:0
[数据结构常用算法] datastructurecode
说明:数据结构及算法用C语言描述-适合初学C及C-Data structures and algorithms in C language to describe- for beginners C and C++<schhan> 在 2025-06-16 上传 | 大小:193kb | 下载:0
[数据结构常用算法] myHuffTree
说明:我的自己构建哈夫曼树的代码,里面写了多注释。希望对新有帮助-My own constructing hoffmann tree code, was written in it more comments. Hope for new help<xx> 在 2025-06-16 上传 | 大小:209kb | 下载:0
[数据结构常用算法] Lying-data-structure2
说明:《大话数据结构》主要内容包含:数据结构介绍、算法推导大O阶的方法;顺序结构与链式结构差异、栈与队列的应用;串的朴素模式匹配、KMP模式匹配算法;二叉树前中后序遍历、赫夫曼树及应用;-" Westward the data structure," the main contents include: Introduction of data structures, algorithms, Big O-order method is derived sequence differ<陈雨> 在 2025-06-16 上传 | 大小:860kb | 下载:0
[数据结构常用算法] Lying-data-structure9
说明: 《大话数据结构》主要内容包含:数据结构介绍、算法推导大O阶的方法;顺序结构与链式结构差异、栈与队列的应用;串的朴素模式匹配、KMP模式匹配算法;二叉树前中后序遍历、赫夫曼树及应用;图的深度、广度遍历;最小生成树两种算法、最短路径两种算法;拓扑排序与关键路径算法;折半查找、插值查找、斐波那契查找等静态查找;稠密索引、分块索引、倒排索引等索引技术;冒泡、选择、插入等简单排序;希尔、堆、归并、快速等改进排序-" Westward the data structure," the m<陈雨> 在 2025-06-16 上传 | 大小:1.46mb | 下载:0
[数据结构常用算法] data-structure
说明:描述了基本的数据结构算法:例如单链表的线性表、多项式等的建立遍历-Describes the basic data structure algorithms: for example, a linear single-chain form, through the establishment of such polynomials, etc.<zhang> 在 2025-06-16 上传 | 大小:2.14mb | 下载:0
[数据结构常用算法] Solving-expressions
说明:简单算术表达式的求解,利用栈的后进先出的特点,加入了对算式合法性的判断-Solving simple arithmetic expression, the use of LIFO stack characteristics, added to the formula to determine the legality of<ryan> 在 2025-06-16 上传 | 大小:2kb | 下载:0
[数据结构常用算法] danlianbiao
说明:单链表,软件基础的基本处理方法。很简单,不过功能比较全-Single linked list, the software foundation of the basic approach. Very simple, but full-feature comparison<wuxi> 在 2025-06-16 上传 | 大小:214kb | 下载:0
[数据结构常用算法] TreeMap
说明:红黑树是一个更高效的检索二叉树,因此常常用来实现关联数组。典型地,JDK提供的集合类TreeMap本身就是一个红黑树的实现。-Red-black tree is a binary tree search more efficient, so often used to implement associative arrays. Typically, JDK provides a collection of classes TreeMap itself is a red-black tree im<WSN> 在 2025-06-16 上传 | 大小:46kb | 下载:0
[数据结构常用算法] Huffman
说明:运用赫夫曼编码的最优前缀码的贪心算法构造huffman树: 首先扫描输入文件,统计出现的字符以及每个字符出现的次数。每次取出现次数最小的那两个节点(node)合并成一个节点(node),并且将累计数值相加作为新的接点的累计数值,最顶层的是根节点(root) -Huffman coding using optimal prefix code of the greedy algorithm constructs huffman tree: First, scan the input file,<WSN> 在 2025-06-16 上传 | 大小:11kb | 下载:0