Skip to content

Commit

Permalink
GitBook: [greyireland#40] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzz2015 authored and gitbook-bot committed Jan 11, 2022
1 parent 5271c7a commit 66d3fe2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion shu-ju-jie-gou-pian/tu.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,20 @@

### 图的基本知识

1. 图有有向图和wuxiang
1. 图有有向图和无向图
2. 图的表征有连接表和连接矩阵
3. 图的遍历有BFS和DFS方法

### 图的常用算法

```
// Some code
BFS 方法
vector<vector<int>> graph;
for(int i=0; i< n; i++)
{
}
```

0 comments on commit 66d3fe2

Please sign in to comment.