资源列表
StaticList
- 基于C++的静态链表,可以直接包含头文件使用-Based on C++ static list, you can use the included header files directly
convert
- 大端模式存储的字节数据向浮点(单精度float、双精度double)、整型(int、long)转换类-Bytes of data stored in big-endian mode to the floating-point (single-precision float, double-precision double), integer (int, long) conversion class
problem_d
- google code jam 2014 资格赛的D问题的算法源码 -algorithm source google code jam 2014 qualifying D issues
problem_c
- google code jam 2014 资格赛的C问题的算法源码 -algorithm source google code jam 2014 qualifiers C problems
problem_b
- The Google Code Jam 2014 Qualification Round,google code jam 2014 资格赛的b问题的算法源码-Algorithm source code The Google Code Jam 2014 Qualification Round, google code jam 2014 qualifying b problem
Word_LadderII
- 算法导论中,关于leetcode oj, word_ladderII的问题源代码 -Introduction to Algorithms, regarding leetcode oj, word_ladderII problem source code
various-algorithms-
- Classic database information
PriorityQueue
- 实现本优先队列的初始化,查找,插入,删除操作,并且控制 其查找,插入,删除操作的算法时间复杂度为O(logn)。-Achievement of the priority queue is initialized, search, insert, delete, and control their search, insert, delete operation time complexity of the algorithm is O (logn).
10.1
- 对于任意给出整数序列,分别采用直接插入排序和起泡排序对其进行升序排序,要求输出排序过程,即每趟排序后的结果。起泡排序从前往后起泡,即每次把最大的数起泡到最后面,并且若有一趟起泡没有交换数据则停止。 输入要求:输入数据存放在input.txt中,input.txt共有3行,第一行为输入的整数个数,第2行为输入的整数序列,以空格分隔,第三行为空行。 输出要求:输出数据存放在output.txt中,先输出直接排序每趟的排序结果,再输出空行,最后输出起泡排序每趟的结果,每趟结果以行分隔。-For
homework_2.22
- 对单链表实现就地逆置,即利用原表的存储空间将线性表(a1,a2,…,an)逆置为(an,an-1,…,a1)。输入数据:文本文件input.txt 文件分2行: 第1行是单链表的数据元素个数n,n<20。如果n<1或n>19则视为输入数据出错。 第2行是单链表的n个数据元素,每个元素都是-999~999之间的十进制整数,元素之间用空格分开。 输出数据:文件output.txt 文件只有1行: 第1行是完成逆置之后的单链表n个元素的十进制整数,每个元素
homework_2.11
- 将x插入到顺序表的适当位置上,以保持该表的有序性。 输入数据:文本文件input.txt 文件分4行: 第1行是顺序表va的数据元素个数n,n<20。如果n<1或n>19则视为输入数据出错。 第2行是n个递增有序的数据元素,每个元素都是-999~999之间的十进制整数,元素之间用空格分开。 第3行是整数x,x是-999~999之间的十进制整数。 第4行是空行。 输出数据:文件output.txt 文件只有1行: 第1行是完成插入之后的顺序
EightQueensProblem
- 这是一个古老的问题,有关八皇后的问题,代码比较短,但是有回溯的思想-This is an old problem, the eight queens problem, the code is relatively short, but the idea back