资源列表
nqueenproblem
- This program finds the locations of placing n queens in a n*n chessboard so that none attack any other
1
- 数据结构中如何将十进制转换为六禁止,此程序就是解决此问题。-Data structure how to convert decimal six banned, this procedure is to solve this problem.
Joseph
- 约瑟夫环 约瑟夫问题的一种描述是:编号为1,2,3……的n个人按顺时针方向围坐成一圈,每人持有一个密码。一开始任选一个正整数作为报数上限m,从第一个人开始按顺时针方向自1开始报数,报到m停止报数。报m的人出列,将他的密码作为新的m值,从他顺时针方向的下一个人开始重新从1开始报数,如此下去,直到所有人全部出列。-Joseph Ring Joseph, a descr iption of the problem is: numbered 1,2,3 ... ... n-individual
BTree
- haskell code for binary trees
Create-a-one-way-linked-list
- 创建一个单向链表,在头创建。有主函数可以直接编译运行。-Create a one-way linked list, in the first created. Are the main functions can be directly compiled and run.
randfile
- 产生互一定范围内的不重复的随机数,随机算法适用于较大范围,分布较为均匀.-Produce each other within a certain range of non-repeating random numbers, random algorithm is applicable to a wider range and more evenly distributed.
CountLeaf
- 采用先序方式建立二叉链表结构,使用递归实现统计二叉树叶子结点个数的算法-count leaf node number of bitree
GetIntersectPoint
- 关于判断两条直线的源码 主要是解出两条直线的相交的点-To determine the source on the two lines is mainly solved the intersection point of two straight lines
SECANT
- source code for implementation of secant s method of numerical analysis methods in mathematics.
bucket-sort
- 桶排序,visual C++编程,有注释-bucket sort in visual c++
poj1200
- 北大poj1200 利用ascii码巧妙将数字转化为nc进制 再进行简单的hash判断-poj1200 crazy search
Buscar-clave-en-un-arbol
- Find key in a tree data structure