diff --git a/README.md b/README.md index a073b6e2..fe1897f3 100644 --- a/README.md +++ b/README.md @@ -42,4 +42,4 @@ * [无向图(邻接表表示)](src/algs4/graph/graph.ts) * [DFS 深度优先搜索](src/algs4/graph/dfs.ts) * [BFS 广度优先搜索](src/algs4/graph/bfs.ts) -* [联通分量](src/algs4/graph/connect-components.ts) +* [连通分量](src/algs4/graph/connect-components.ts) diff --git a/src/algs4/graph/connect-components.ts b/src/algs4/graph/connect-components.ts index be246575..5e9c44b7 100644 --- a/src/algs4/graph/connect-components.ts +++ b/src/algs4/graph/connect-components.ts @@ -2,7 +2,7 @@ import Bag from '../1-3/bag' import Graph, { createGraphFromReadIn } from './graph' /** - * 联通分量 + * 连通分量 */ export default class CC { private marked: boolean[]