资源列表
merge
- 分治法排序,给定长度为n的一个序列,对其进行快速排序和求第i小数-(1) Input: A sequence of n numbers <a1, a2, . . .,an>. Output: A permutation (reordering) <a1’, a2’, . . .,an’> of the input sequence such that a1’ a2’ . . . an’ (2) Input:
linked-list
- 实现对链表的插入、删除、输出,是学习链表入门的很好的材料-Achieve the list of insert, delete, export, is a good start to learn the material list
Data-Structure
- 数据结构演示系统,有数据结构中的各种算法,有线性表的算法,还有个各种排序查找算法。-Data structures demonstration system, the data structure of the various algorithms, the algorithm has a linear form, as well as a variety of sorting search algorithm.
duishizi
- 算法设计与分析 堆石子问题 #include<stdio.h> #include<algorithm> int a[100][100],b[100][100],c[100] int max0(int a,int b) { if(a>b) return a else return b } int min0(int a,int b) { if(a<b) return
binary-tree
- 二叉树,编写程序任意输入二叉树的结点个数和结点值,构造一棵二叉树,采用三种递归遍历算法(前序、中序、后序)对这棵二叉树进行遍历并计算出二叉树的高度。-binary tree
zheban
- 折半查找法,二叉树为基础,代码结构严谨精炼-Binary search method, binary tree as the foundation, the code structured refining
Program-of-gram
- 图的创建、遍历、最小生成树、最短路径、拓扑排序、关键路径-create ,travase,spaning tree,the shortest path,topological sort program of graph
Trees-
- 数据结构树和二叉树的一些简单程序,适合初学者学习-Data structure and two and a simple procedure of the tree. beginners learn
Floyed-and-Dijkstra-Sort
- 改代码实现了Floyd和Dijkstra算法在最短路径问题上的应用,并且比较了两者的效率。-The code has applied Floyd and Dijkstra algorithm in the shortest path problem, and given the efficiency of the these two algorithms.
cpp1
- 我多年整理的10多个c++常用的算法之类的好东西,代码写的一般,但是很实用-My years of finishing more than 10 c++ commonly used algorithm, good stuff, code written in general, but very practical!!!
Joseph
- 你现在所使用的是以链表为基础编写的约瑟夫环,具体功能为: 编号为1,2,......,n的n个人按照顺时针方向围坐一圈,每个人有且只有一个密码(正整数)。一开始任选一个正整数作为报数上限值,从第一个人开始顺时针方向自1开始报数,报到m时停止报数。报m 的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新报数,如此下去,直到所有人全部出列为止; 如输入整型数据:1 2 3 4 5 6,输出为2 4 3 1 5 6-You are now use the list is th
Ccode
- C语言源代码实现 图的存储方法 递归算法 排序算法-Figure C-language source code storage method recursive algorithm sorting algorithm
