@@ -51,10 +51,10 @@ _Read this in other languages:_
51
51
* ` B ` [ 阶乘] ( src/algorithms/math/factorial )
52
52
* ` B ` [ 斐波那契数] ( src/algorithms/math/fibonacci )
53
53
* ` B ` [ 素数检测] ( src/algorithms/math/primality-test ) (排除法)
54
- * ` B ` [ 欧几里得算法] ( src/algorithms/math/euclidean-algorithm ) - 计算最大公约数 (GCD)
54
+ * ` B ` [ 欧几里得算法] ( src/algorithms/math/euclidean-algorithm ) - 计算最大公约数 (GCD)
55
55
* ` B ` [ 最小公倍数] ( src/algorithms/math/least-common-multiple ) (LCM)
56
56
* ` B ` [ 素数筛] ( src/algorithms/math/sieve-of-eratosthenes ) - 查找所有素数达到任何给定限制
57
- * ` B ` [ 判断2次方数] ( src/algorithms/math/is-power-of-two ) - 检查数字是否为2的幂 (原生和按位算法)
57
+ * ` B ` [ 判断2次方数] ( src/algorithms/math/is-power-of-two ) - 检查数字是否为2的幂 (原生和按位算法)
58
58
* ` B ` [ 杨辉三角形] ( src/algorithms/math/pascal-triangle )
59
59
* ` A ` [ 整数拆分] ( src/algorithms/math/integer-partition )
60
60
* ` A ` [ 割圆术] ( src/algorithms/math/liu-hui ) - 基于N-gons的近似π计算
@@ -73,7 +73,7 @@ _Read this in other languages:_
73
73
* ** 字符串**
74
74
* ` A ` [ 莱温斯坦距离] ( src/algorithms/string/levenshtein-distance ) - 两个序列之间的最小编辑距离
75
75
* ` B ` [ 汉明距离] ( src/algorithms/string/hamming-distance ) - 符号不同的位置数
76
- * ` A ` [ 克努斯-莫里斯-普拉特算法 ] ( src/algorithms/string/knuth-morris-pratt ) - 子串搜索
76
+ * ` A ` [ KMP算法 ] ( src/algorithms/string/knuth-morris-pratt ) (克努斯-莫里斯-普拉特算法) - 子串搜索 (模式匹配)
77
77
* ` A ` [ 字符串快速查找] ( src/algorithms/string/rabin-karp ) - 子串搜索
78
78
* ` A ` [ 最长公共子串] ( src/algorithms/string/longest-common-substring )
79
79
* ` A ` [ 正则表达式匹配] ( src/algorithms/string/regular-expression-matching )
@@ -101,11 +101,11 @@ _Read this in other languages:_
101
101
* ` A ` [ 戴克斯特拉算法] ( src/algorithms/graph/dijkstra ) - 找到图中所有顶点的最短路径
102
102
* ` A ` [ 贝尔曼-福特算法] ( src/algorithms/graph/bellman-ford ) - 找到图中所有顶点的最短路径
103
103
* ` A ` [ 弗洛伊德算法] ( src/algorithms/graph/floyd-warshall ) - 找到所有顶点对 之间的最短路径
104
- * ` A ` [ 判圈算法] ( src/algorithms/graph/detect-cycle ) - 对于有向图和无向图 (基于DFS和不相交集的版本)
105
- * ` A ` [ 普林演算法] ( src/algorithms/graph/prim ) - 寻找加权无向图的最小生成树 (MST)
106
- * ` B ` [ 克鲁斯克尔演算法] ( src/algorithms/graph/kruskal ) - 寻找加权无向图的最小生成树 (MST)
104
+ * ` A ` [ 判圈算法] ( src/algorithms/graph/detect-cycle ) - 对于有向图和无向图 (基于DFS和不相交集的版本)
105
+ * ` A ` [ 普林演算法] ( src/algorithms/graph/prim ) - 寻找加权无向图的最小生成树 (MST)
106
+ * ` B ` [ 克鲁斯克尔演算法] ( src/algorithms/graph/kruskal ) - 寻找加权无向图的最小生成树 (MST)
107
107
* ` A ` [ 拓扑排序] ( src/algorithms/graph/topological-sorting ) - DFS 方法
108
- * ` A ` [ 关节点] ( src/algorithms/graph/articulation-points ) - Tarjan算法 (基于DFS)
108
+ * ` A ` [ 关节点] ( src/algorithms/graph/articulation-points ) - Tarjan算法 (基于DFS)
109
109
* ` A ` [ 桥] ( src/algorithms/graph/bridges ) - 基于DFS的算法
110
110
* ` A ` [ 欧拉回径与一笔画问题] ( src/algorithms/graph/eulerian-path ) - Fleury的算法 - 一次访问每个边
111
111
* ` A ` [ 哈密顿图] ( src/algorithms/graph/hamiltonian-cycle ) - 恰好访问每个顶点一次
@@ -116,7 +116,7 @@ _Read this in other languages:_
116
116
* ` B ` [ 旋转矩阵] ( src/algorithms/uncategorized/square-matrix-rotation ) - 原地算法
117
117
* ` B ` [ 跳跃 游戏] ( src/algorithms/uncategorized/jump-game ) - 回溯, 动态编程 (自上而下+自下而上) 和贪婪的例子
118
118
* ` B ` [ 独特(唯一) 路径] ( src/algorithms/uncategorized/unique-paths ) - 回溯, 动态编程和基于Pascal三角形的例子
119
- * ` B ` [ 雨水收集] ( src/algorithms/uncategorized/rain-terraces ) - 诱捕雨水问题 (动态编程和暴力版本)
119
+ * ` B ` [ 雨水收集] ( src/algorithms/uncategorized/rain-terraces ) - 诱捕雨水问题 (动态编程和暴力版本)
120
120
* ` A ` [ 八皇后问题] ( src/algorithms/uncategorized/n-queens )
121
121
* ` A ` [ 骑士巡逻] ( src/algorithms/uncategorized/knight-tour )
122
122
0 commit comments