资源列表
exam4
- 源程序给出了插入排序、选择排序、希尔排序、堆排序、冒泡、双向冒泡、快速排序、归并排序、递归的归并排序、基数排序等多种排序算法,其中有17处需要填空。 1) 完成17处填空; 2) 调整输出方式:去掉多余的空行,保留中间结果以便确认排序方法是否正确; 确认程序能正确运行之后,去掉(或注解)输出中间结果的语句,直接输出排序前、后的数组内容。 -Source gives the insertion sort, selection sort, Hill sort, heap sort,
tree
- 用C语言写的树的生成、树的遍历,并含有9种排序算法-Written in C language with the generation of trees, tree traversal, and contains nine kinds of sorting algorithms
all
- C语言写的大部分算法问题,比如回文数,素数,等。-Most algorithms written in C language problems, such as palindrome, prime, and so on.
rev
- 计算逆序数,用的是归并排序方法实现的。时间复杂度和归并排序方法的一样-Reverse calculation of the number of ways using a merge sort implementation. Merge sort time complexity, and the same method
nn
- N皇后问题的算法,算法设计中的基本算法,-N queens algorithm, algorithm design, the basic algorithm
eightQueen
- 用C/C++实现的著名“八皇后”算法~八皇后问题,是一个古老而著名的问题,是回溯算法的典型例题。该问题是十九世纪著名的数学家高斯1850年提出:在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种方法-With C/C++ implementation of the famous " Eight Queens" algorithm ~ eight queens problem is an ancient and w
DataStructureCode
- 链表,数组,图,树,AOT,文件等常考常用 数据结构的C语言代码实现。适用学生(数据结构)学习参考。-Lists, arrays, graphs, trees, AOT, documents the data structure used frequently test code C language. For students (data structure) study reference.
suanfadaquan
- C/C++的算法大全,大家可以直接、方便在这里找到所要的算法-C/C++ algorithm Daquan, we can directly facilitate the algorithm to be found here
shixibaogao
- c++的学习实验及题解,并且附上了在c++环境下的运行结果和解题流程图。-c++ learning experiments and problem solutions, and attached in c++ environment, the operating results and problem-solving flow chart.
SORT
- 实现了插入排序,时间复杂度是O(N)。 -Implements insertion sort, the time complexity is O (N).
EX01
- 演示struct结构类型的数据类型的用法!-Struct structure demonstrates the usage of data type type!
2311
- 在一定的条件下,对于整数,时间复杂度为O(n+m)的排序算法-Time complexity is O (n add m) of the sorting algorithm
