资源列表
tree
- 利用二叉数对数据进行排序,体现二叉树的优点
sort
- 链表排序功能的实现,采取了冒泡算法,将链表节点按照数据大小排序-Sort list functions to achieve, to take a bubble algorithm, the node will list the size in accordance with the data sorted
chazhaozuijinzuxian
- 编写算法,在二叉排序树上找出任意两个不同结点的最近公共祖先-Write algorithm, binary sort tree to find any two different nodes of the nearest common ancestor
CreateBinTree
- 数据结构二叉树的用建立,用二叉链表作为二叉树的存储结构,完成了二叉树的中序遍历后序遍历、前序遍历以及叶子节点、二叉树节点总数的递归算法实现,可运行!-Binary tree data structure with the establishment of the list with a binary storage structure as a binary tree, complete binary tree in postorder traversal order traversal, pr
zifuzhuanhuan
- 将字符串的小写转换成字符串的大写的算法 。-Convert uppercase characters to lowercase
prim
- 普利姆算法用来求解最小生成树问题很容易,使得树的最小权值最小。-Prim algorithm used to solve the minimum spanning tree problem is easy, the minimum weight is the lowest of the tree
quicksort
- 一个非递归快速排序的实现-
006
- 用if…else语句解决奖金发放问题,用C语言实现-If ... else statement to solve with the bonus issue, with the C language
Pre-order-binary-tree-traversal
- 二叉树的前序遍历:主要运用C语言来实现二叉树的前序遍历算法-Pre-order binary tree traversal
test
- 约瑟夫问题 设有n个人站成一圈,每个人有不同的编号i(1≤i≤n)。从编号为1的人开始按顺时针方向“1,2,3,4…”循环报数,数到m的人出列,然后从出列者的下一个人重新开始报数,数到m的人又出列,如此重复进行,直到n个人都出列为止。约瑟夫问题是:对于任意给定的n个人的原始排列顺序和m值,求出n个人的出列顺序。 例如,当8个人的原始排列顺序为 1 2 3 4 5 6 7 8 并且m=4时,其出列顺序为 4 8 5 2 1 3 7 6 -Documents and S
CreatBinaryTree
- 这个程序能让用户输入由中序与层序序列建立二叉树,该文件底部有一个输入例子供参考。-This program allows the user to input Chinese and sequence sequence sequence to build a binary tree, the bottom of the file has an input example for reference.
HuffmanTree
- 静态建立Huffman树,数据结构,静态,huffman树-Static build Huffman tree data structures, static, huffman tree