资源列表
bigcorPar
- Program for Correlation on big data
01-knapsack-algorithm
- 01背包动态规划算法,实现01背包算法的一个简单例子-01 knapsack dynamic programming algorithm to achieve 01 knapsack algorithm is a simple example
DynamicFloyd
- 佛洛依德例子,与医院选址有关,找到最佳的医院选址-Freud example, siting and hospital related sites to find the best hospital
search
- 有关数据结构查找的一些讲解,包括二叉树查找,B+树、B-树查找,哈希算法等内容。-Find some of the relevant data structure to explain, including the binary search, B+ tree, B-tree search, hash algorithms and so on.
farmer-crossing-river2
- 经典的农夫过河问题的c语言算法。队列类型操作。(栈类型也可实现。)-Classic farmer across the river algorithm c language. Type of queue operations. (Stack type can also be implemented.)
farmer-cross-the-river1
- 经典农夫过河问题的c语言算法,且是栈类型的操作方法。(队列类型算法也可实现。)-Classic farmer across the river algorithm c language and method of operation is the stack type. (Queue type algorithm can be realized.)
sort
- 基于c语言的堆排序算法。非常快速的排序方法。-Based on c language heap sorting algorithm. Very fast sorting method.
kmp
- 数据结构KMP算法的简单实现,利用KMP算法实现串的模式匹配编程-KMP algorithm data structure simple implementation, the use of KMP string pattern matching algorithm programming
Josephus-problem
- 任务:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个仍开始顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 要求:利用单向循环链表存储结构模拟此过程,按照出列的顺序输出各个人的编号。 测试数据: m的初值为20,n=7 ,7个人的密码依次为3,1,7,2,4,7
airport
- 【问题描述】假设机场有一条跑道,每架飞机需花费一定时间着陆,花费一定时间起飞,飞机的起降满足一定的概率。一般来讲,机场存在两个队列,一个等待着陆的飞机队列和一个等待起飞的飞机队列,同样等待时间下,等待着陆的飞机比准备起飞的飞机具有更高的优先级。试编写程序模拟这个机场的运行。 【基本要求】使用队列或优先队列实现;要求可以变换起飞和着陆频率来模拟一天中的飞行高峰期和空闲期;要求可以改变着陆和起飞时间以模拟不同的效果。 【实现提示】可以假设有一个每次前进一分钟的模拟时钟,对于每一分钟,产生两个
dxcl
- 单元最短路径算法,又称迪杰斯特拉算法,是图论中的经典算法-Unit shortest path algorithm, also known as the Dijkstra algorithm is a classical algorithm in graph theory
yue
- 约瑟夫环解决一个历史上的问题,主要是一群人围成一个环,解决最后谁活下来的问题-Josephus solve a history of problems, mainly a group of people surrounded by a ring, to solve the last problem of who survived