资源列表
calculate--PI
- 计算PI后面的很多位的C程序,可以直接运行,代码精简快速-calculate Pi rapidly and accuratly
solution-of-Towers-of-Hanoi
- 汉若塔问题的经典解法,C代码可以直接运行。-solution of Towers of Hanoi
infixprefix.c
- Infix to prefix conversion code.
infixpostfix.c
- infix to postfix conversion code.
BST
- Binary Search tree insertion and deletion
Dong_tai
- 动态规划经典习题,算法导论例题实现,自己实现,有钢管划分问题,背包问题-Classical dynamic programming exercises, Introduction to Algorithms examples realize that he realized there steel partitioning problem, knapsack problem
N-huanghou
- N皇后回溯算法 课上使用小例子 仅供参考 -N Queens backtracking algorithm using a small example of the class
LongestSubsequence
- 对某一随机序列或手动输入学列求解最长单调递增子序列-Of a random sequence of solving the longest monotonically increasing sequence
ma2
- 显然求解骑士游历问题的每一步就是马在棋盘上走的一步。在每一步马需要选择一个方向进行游历,这时记住解的每一步需要记住两件事: 1.当前步的行列位置 2.当前步已经试探过哪些方向了,以便回溯回来时能够选择一个新的方向进行试探 所以使用两个数组,数组board记住棋盘的每个位置是在马的第几步到达的,这反映了问题的解,即第几步到哪个位置。数组direction记住在棋盘的某个位置已经试探过的方向,每个位置有八个方向,可按某种顺序对八个方向编号,然后在每个位置按编号顺序试探方向。 -Ob
C_search
- 数据结构中各种经典查找算法的详细介绍,包括二叉排序树等-Find a variety of classic data structure algorithms described in detail, including the binary sort tree, etc.
ChainTree
- 关于数据结构中构建二叉树的小程序.欢迎下载指导-Novice binary tree data structure to construct a small program