资源列表
prim
- Prim算法 用Prim算法从u0出发构造网g的最小代价生成树-Prim Algorithm Prim algorithm constructed starting from u0 minimum cost spanning tree network g
huffman_tree
- 哈夫曼树 哈夫曼树类模板 已知权,双亲及左右孩子构造结构构造哈夫曼树-Huffman Huffman tree class template known right, parents and children around the Huffman tree structure structure structure
top_sort
- 拓扑排序算法 如图g无回路,则输出g的顶点的一个拓扑序列,并返回SUCCESS,否则返回FAIL-Topological sorting algorithm in Figure g no loop, the output of a topological vertex g sequence and returns SUCCESS, otherwise return FAIL
gauss
- 数值计算方法中的gauss算法,主要是编程的实现。-Numerical methods gauss algorithm is mainly programming implementation.
PanDuan-HuiWen
- 利用栈的基本操作对某一字符串作出判断其是否为回文-Basic operations using the stack to make judgments on whether a string is a palindrome
ShuJuJieGou-KeChengSheJi
- 产生两列随机数列:1.找出其中的素数2.将相同数转化为二进制输出3.统计相同数个数4合并两数列5.分别删除数列1中被2整除的数和删除数列2中被3整除的数-Generates two random number sequence: 1. Figure out where the primes 2 would be the same as the number into binary output 3. Statistical same number number 4 merge two serie
shujujiegou
- 自己写的学生信息管理系统数据结构课程设计,包括文件读写等很多功能。-Write their own student information management system data structure curriculum design, including file reading and writing, and many other functions.
shadowTree-and-displayTree
- 本代码实现了影子树已经利用影子树实现displayTree的功能,利用中序遍历将整棵树显示出来-This code implements the shadow tree shadow tree implementation displayTree have used the function, using the preorder will display the entire tree
DAG.cpp
- DFS algorithm on graphs.
DFS.cpp
- Depth first search algorithm on graphs.
Huffman
- 哈夫曼编码,利用二叉树的原理寻找最优解法,数据结构常见问题。-huffman coding.
joseph
- 经典的约瑟夫环问题,按顺序剔除报数为某一个序号的人,直至留下最后几个生存,利用指针和链表-Joseph Problem
