资源列表
KMP
- KMP算法 在一个长字符串中匹配一个短子串的无回溯算法-KMP algorithm
encode1
- 给定 n个整数 a1,a 2,…,a n组成的序列,如果对于 组成的序列,如果对于 组成的序列,如果对于 组成的序列,如果对于 组成的序列,如果对于 组成的序列,如果对于 i<=k<=j i<=k<=j ,有 ak<=|a<=|a<=|a<=|aj|,则 称 aj覆盖序列区间 覆盖序列区间 覆盖序列区间 ai,a i+1 ,…,a j,相应的覆盖区间长度为 相应的覆盖区间长度为 相应的覆盖区间长度为 相应的覆盖区间长度为 相应的覆盖区间长度为 相应
A-topological-sort-of-directed-graph
- 数据结构中的有向图的拓扑排序算法基础程序,可在此基础上进行更改,主要构造了无向图、有向图和逆邻接图,使用c语言编程。-Data structure topological sort algorithm of the directed graph based program that can be changed, on the basis of the main structure undirected graph and directed graph and inverse adjacency
liczby_pierwsze1
- displays first X primary numbers
Joseph
- 约瑟夫环问题,简明算法.注释部分可单独构成助于理解的文档.-Josephus, concise algorithm. Comment section can be used alone constitute a help to understand the document.
File-merger
- 先生成两个二进制整数文件f1,f2。然后将f1和f2按照下面规则合并成二进制文件。 f3:假设f3中的数据为x,则x存在于f1中但不存在于f2中,或者x存在于f2中, 但不存在于f1中。即f3中的数据是由存在于f1或f2但不同时存在于f1和f2的数组成。-Mr. into two binary integer file f1, f2. Then f1 and f2 are merged into a binary file according to the following rules. f3
code3
- Package consists of 3 files. First, to compare two linked list. Second, to find the reverse of a linked list using recursion. Third , to merge two sorted linked list
The Most Deligent Man
- 邓老师发现有很多外国同学选修他的 mooc,于是他打开刷题记录,想找出最认真的那位同学。 共有 n 条刷题提交记录,每条记录包含一个人名,所有同学的名字各不相同。 邓老师认为刷题记录中出现最多的人就是最认真的那位同学。于是他开始查找,虽然邓老师脑容量很大,但是他不想花很多在这种单调的工作上,于是他只分配了很少的脑容量来完成这项任务。 请你设计一个算法,帮助他找到最认真的人。 输入 第一行仅含一个整数,即记录的总数 n。 接下来的 n 行给出记录,每行各用一个字符串给出一个人名。
A0_001 链表编程
- N只猴子要选大王,所有猴子按1,2,3...M报数,凡报到M的退出圈外,如此循环,直到圈内只剩一只,就是大王了. 分析:建立一个环形链表,每个猴子就是链表中的一个结点,那么猴子出圈就是对环形链表中的结点的删除,只到最后剩下的一个结点为止.-N monkeys to elect king, all the monkeys reported by a number 1,2,3 ... M, where M to report the withdrawal of outsiders, a
nqueue
- 皇后放置问题 第一个数字为放置皇后的x坐标,第二哥数字为y坐标-queen placed question
a
- 用vc实现apriori算法。apriori算法是关联规则中的一种算法-apriori
sss
- 数据结构,信号放大器,数据结构,信号放大器-Data structure, signal amplifier, data structure, signal amplifier
