资源列表
1
- 插入排序算法,对想了解排序的人有一定的帮助-Insertion sort algorithm, there are certain people who want to understand the sort
PriorityQueue
- 泛型化的优先级队列(最小堆),用C++实现 使用前应重载小于号 -Generic priority queue(the minimum heap) with C++ achieve
mlfbeibao
- 5蛮力法求背包问题 5蛮力法求背包问题 5蛮力法求背包问题-5 Brute Force Method knapsack problem 5 Brute Force Method knapsack problem brute force method to seek the knapsack problem
the-Josephus-problem
- 利用建立双向循环链表来解决约瑟夫环的问题-Doubly linked list to solve the Josephus problem
erchashu
- 假设自上而下按层次,自左至右输入每个结点的一个三元组(N, P, L/R)。其中N为本结点的元素,P为其夫结点,L指示N为P 的左孩子,R指示N为P的右孩子。试写一个建立二元树在内存的双链表示算法,并实现先根、中根、后根以及层序遍历算法。 -Assuming that the top-down hierarchy, from left to right input each node is a triple (N, P, L/R). N oriented junction element t
duoxiangshi
- 采用链式结构实现任意多项式的存储,求两个多项式的和。 -Using the chain structure to achieve arbitrary polynomial storage, and seeking two polynomials.
The--longest-common-subsequence
- 本代码是算法设计中的最长公共子序列问题,通过C++编写。-This code is the longest common subsequence algorithm design, written by C++.
the-farmer-across-the-river
- 农夫过河问题的C++实现源代码,注释较少,希望对大家有所帮助-The farmer across the river C++ source code, fewer comments, we hope to help
LeastCommonAncestors
- 求一棵二叉树的2个结点的最近公共祖先 输入:根据带空指针的先序遍历结果建立普通二叉树 数据元素类型:字符类型 空指针: # 输入格式: 第一行:依次为元素个数N 第二行:元素序列 第三行:字符x 字符y 输出格式:x与y的最近共同祖先的元素值,或者NULL。 注意:1、输入错误时,输出ERROR(大写)并结束程序。2、树节点保存的元素值为字符类型。3、任意多余输出视为错误。4、二叉树的结点关键字是主关键字 -Seeking a binary tree
BPSK2
- 本程序是自己写的,经过验证的,瑞利衰落信道下的BPSK信号仿真-This program is written in their own, after verification, simulation of BPSK signals in Rayleigh fading channels
contacts
- 用顺序存储结构建立通讯录,C语言,可创建,插入,删除,查找-Establish contacts with sequential storage structure, C language, you can create, insert, delete, search
magicsquare
- 魔方阵是一个古老的智力问题,它要求在一个m×m的矩阵中填入1~m2的数字(m为奇数),使得每一行、每一列、每条对角线的累加和都相等,如图1所示。-Magic square is an old mental problems, it requires to fill in an m × m matrix in figure 1 ~ m2 (m is odd), so that each row, each column and each diagonal are equal cumulative