资源列表
stone
- 在一个圆形操场的四周摆放着n 堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2 堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分。
LIU_LS_ESPRIT
- 此算法实现对信号使用改进的music方法的估计,仿真效果很好-music-estimation
xianxingbiao
- 输入以字符串,依顺序表存储,查找一个元素,删除一个元素-Input to a string, depending on the order of tables to store, find an element, delete an element
add
- 运用C++算法完成多项式加法。简单的操作,用链表完成-Done using C++ algorithms polynomial addition. Simple operation, complete with a list
array
- array接口,提供了动态数组的接口和实现,内有array.c为实现array.h为接口以及makefile。可在gcc下编译通过-array interface and implementation
CPP
- 素数打表法,高效率。关于多个或者单个素数的高效率判别-Primes play table method, high efficiency. High efficiency on multiple or single primes discrimination
stack_with_min_func
- 定义栈的数据结构,要求添加一个min函数,能够得到栈的最小元素。要求函数min、push、pop的时间复杂度都是O(1)-Defined stack data structure, requires the addition of a min function, it is possible to obtain the smallest element of the stack. Function requires min, push, pop time complexity is O (1)
1038
- zoj 的1038题。 典型的搜索问题。
Joseph_Central_issues
- 数据结构——约瑟夫环问题C++源代码和注释 。-Data structure- Joseph Central issues, C++ source code and notes.
shortest_path
- 求取给定图的多元最短路径,使用FLOYD算法实现,简单明了,注释详细!-Strike a given graph of multiple shortest path algorithm using FLOYD, simple and clear, detailed notes!
lianzhan
- 数据结构 C++版 链栈的定义,输出栈,进栈操作,出栈操作,取栈顶元素,求栈中元素个数,判断栈是否空,查找链栈中是否存在值为x的元素,-Some of the basic algorithm of the the data structure C++ EDITION chain stack
collectioncaculator
- 运用顺序表的基本运算。(插入、删除) 1)集合的数据类型为一个结构体,其中包括一个数组用来存放集合元素,一个整型数据来统计集合元素的个数。生成两个集合A和B。 2)将集合中的元素按照从小到大排序。具体方法为:从第二个元素起(i),依次扫描每个元素前面的所有元素(j),若i<j,则将j插在i的前面,结束对i的排序,照这个方法,再依次对i后的元素进行排序。 3)求两集合的并:生成一个新集合C,将集合A的元素复制过来,对集合B的元素依次进行扫描,若没有该元素,则插入,若已存在,则扫描