File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Algorithms
2
2
这里有各种算法的C++代码,任何人可以在自己的任何程序中使用,欢迎大家指出代码中的错误以及有待改进的地方。
3
3
## * Index*
4
- | ---------------Contents--------------- | ---------------FileName--------------- |
5
- | -------------------------------------- | -------------------------------------- |
4
+ | -------------------- Contents-------------------- | -------------------- FileName----- --------------- |
5
+ | ------------------------------------------------ | ---------- -------------------------------------- |
6
6
| 单源最短路径(Bellman-Ford) | Bellman-Ford |
7
7
| 广度优先搜索 | Breadth-First-Search |
8
8
| 冒泡排序 | Bubble-Sort |
9
9
| 深度优先搜索 | Depth-First-Search |
10
10
| 并查集 | Disjoint-Set-Union |
11
11
| 最大流(Edmonds-Karp) | Edmonds-Karp |
12
12
| 拓展欧几里得算法 | Extended-Euclid |
13
+ | 简单的快速幂 | Fast-Exponentiation |
14
+ | 树状数组 | Fenwick-Tree |
13
15
| 辗转相除法求最大公约数 | Greatest-Common-Divisor |
14
16
| 字符串匹配(KMP) | Knuth-Morris-Pratt |
15
- | 最小公共祖先 (Tarjan) | Least-Common-Ancestor(Tarjan) |
17
+ | 最近公共祖先 (Tarjan) | Least-Common-Ancestor(Tarjan) |
16
18
| 朴素的矩阵乘法 | Matrix-Multiplication(Naive) |
17
19
| 归并排序 | Merge-Sort |
18
20
| 最小堆 | Min-Heap |
19
21
| 乘法逆元 | Modular-Multiplicative-Inverse |
20
22
| 快速排序 | Quick-Sort |
23
+ | ST表 | Sparse-Table |
You can’t perform that action at this time.
0 commit comments