资源列表
binary-tree-amplitude
- 这是我参加某公司面试时做的一个二叉树问题题目,题目是求任意给出一组数看是否在树上,并求节点和数的裕度。这是我的答案,给大家分析参考。-This is a binary tree question when I participate a company s interview. The question is judging if a random series number is in binary tree and get the node and tree s amplitude.It s
Factorial
- C++ 实现大数阶乘的算法,运用C++的链表(list<>)模板为数据结构的阶乘的实现,算法是基于乘法进位,有注释和一附图,帮助大家理解。-C++ implementation of large numbers factorial algorithm, using C++ linked list (list <>) templates for implementation of the factorial structure of the data, the algori
BFSTraverse
- 利用BFS算法和队列实现在棋盘上已知“马”的初始位置,得到其在指定步数内可以到达的所有位置的功能-Use BFS algorithm and queue on the board to achieve a known " horse" in the initial position, get the function which can be reached within a specified number of steps in all positions
tsp
- 著名的旅行商问题解法,非常精简,带有注释!!提供给大家学习,-The famous traveling salesman problem solution, very streamlined, with a comment! ! Available to everyone to learn! ! !
pai-xu-suan-fa
- 里面是数据结构中的希尔排序算法,有兴趣的看下,很不错的。-There is a data structure Hill sorting algorithm, interested look very good.
er-fen-cha-ru
- 数据结构中的二分插入排序算法,简单明了。-Insert data structure dichotomy sorting algorithm, plain and simple.
zhi-jie-cha-ru-pai-xu
- 讲了直接插入排序算法的两种方法,使用c语言写的。-Stresses the direct insertion sort algorithm two methods, using c language.
code4
- Efficient Nearest and Farthest Neighbors Algorithm
code5
- Hash Table Functions
GTree
- 通用树结构实现算法-双亲孩子表示法(代码可以复用)-Common tree structure to achieve
LinkStack
- 链式栈的实现(代码可以复用的喔 ,测试了没问题)-Achieve chain stack (code reuse Oh, tested no problem)
SeqStack
- 栈的顺序存储结构,很不错的哈(代码可以直接使用的)-Sequential stack storage structure, very good Ha (code can be used directly)