mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-16 03:59:18 +08:00
Fix a comment in graph_adjacency_list
This commit is contained in:
@@ -12,7 +12,7 @@ namespace hello_algo.chapter_graph;
|
||||
/* 基于邻接表实现的无向图类 */
|
||||
class GraphAdjList
|
||||
{
|
||||
// 邻接表,key: 顶点,value:该顶点的所有邻接结点
|
||||
// 邻接表,key: 顶点,value:该顶点的所有邻接顶点
|
||||
Dictionary<Vertex, List<Vertex>> adjList;
|
||||
|
||||
/* 构造函数 */
|
||||
|
||||
Reference in New Issue
Block a user