资源列表
图的深度优先周游_递归_邻接矩阵
- 图的深度优先算法,这个算法非常的实用,应该经常被用到-map the depth priority algorithm, the algorithm is very practical, should always be used
recursion_mathod_to_solve_combination_and_all_perm
- 简单的全排列与组合问题的递归解法,数据结构与算法中较基础的问题-simple combination with the full array of recursive method, data structure and algorithm based on the issues than
gsxy
- // 带有列主元的高斯消元法 // 功能: 求解线性方程组 Ax = b // 参数: A - 指向n*n系数矩阵的指针 // b - 常数向量的指针 // n - 方程组的维数 // 返回值:0 - 如果成功。线性方程组的解保存在 b 中 // 1 - 求解失败
lcs
- 最长公共子序列算法LCS实现。任意输入两个字符串,通过此算法可以找到最长的公共子序列。
migong
- 用回溯法求解迷宫问题,就是按某种方式走,不行的话就往后退,试试别的路,直到走通为止。
na2
- 数据结构中串的实验,可实现求叶子数,求结点数,按层次遍历,求二叉树的深度等功能-Data structure in the experimental series can be realized for a few leaves, and nodes, according to the level of ergodicity, and the functions of the depth of binary tree
five-sorting-algorithms-
- 直接插入排序,冒泡排序,选择排序,快速排序,堆排序五种排序算法的C语言描述 -five sorting algorithms described in C language
zuixiaoshenchengshushili
- 若要在n个城市之间修路,只需修n-1条线路即可。如何以最低的经济代价建设,是一个网的最小生成树-To n-1 lines, to between n cities, roads, just repair. The lowest economic cost of construction, the minimum spanning tree of a network
HuffmanCoding
- Huffman Coding in Java
da
- (1)用顺序栈实现一个支持大整数的加法和减法计算功能的计算程序。 (2)实现创建顺序栈,入栈,出栈等基本操作,并使用这些基本操作协助完成大整数加法的实现。 (3)用if或switch语句设计一个如下页的选择式菜单。-(A) implement a stack with support for large sequential integer addition and subtraction calculations calculation program. (2) in order
queue
- 队列的相关操作函数,包括出队,入队,判队空,判队满,初始化队列,清空队列等函数-Related queue manipulation functions, including the team into the team, the team empty sentenced sentenced team full, initialize the queue, the queue empties other functions
Single-linked-list
- 已知一个带有表头结点的单链表,结点结构为 ,假设该链表只给出了头指针list。在不改变链表的前提下,请设计一个尽可能高效的算法,查找链表中倒数第k个位置上的结点(k为正整数)。若查找成功,算法输出该结点的data域的值,并返回1;否则,只返回0。 -Given a single linked list with a header node, node structure, assuming that the list gives only the head pointer list. On
