Skip to content

Commit 4860d2b

Browse files
committed
Add tags and subsection links in graph notes
1 parent 9ade768 commit 4860d2b

File tree

6 files changed

+13
-0
lines changed

6 files changed

+13
-0
lines changed

docs/graph/breadth-first-search.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Breadth First Search
33
tags:
44
- Graph
5+
- Breadth First Search
6+
- BFS
57
---
68

79
Breadth First Search (BFS) is an algorithm for traversing or searching tree. (For example, you can find the shortest path from one node to another in an unweighted graph.)

docs/graph/depth-first-search.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Depth First Search
33
tags:
44
- Graph
5+
- Depth First Search
6+
- DFS
57
---
68

79
Depth First Search (DFS) is an algorithm for traversing or searching tree. (For example, you can check if graph is connected or not via DFS) [2]

docs/graph/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ Graph are used to show a relation between objects. So, some graphs may have dire
2525
<figcaption>Figure 1: a simple unweigted graph</figcaption>
2626
</figure>
2727

28+
### [Depth First Search](depth-first-search.md)
29+
### [Breadth First Search](breadth-first-search.md)
30+
### [Shortest Path](shortest-path.md)
31+
### [Topological Sort](topological-sort.md)
32+
2833
## References
2934

3035
1. [https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/tutorial/](https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/tutorial/)

docs/graph/shortest-path.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Shortest Path Problem
33
tags:
44
- Graph
5+
- Shortest Path Problem
6+
- Dijkstra
57
---
68

79
## Definition

docs/graph/topological-sort.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Topological Sort
33
tags:
44
- Graph
5+
- Topological Sort
56
---
67

78
## Definition

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ nav:
55
- Introduction: introduction/index.md
66
- Data Structures: data-structures/index.md
77
- Algorithms: algorithms/index.md
8+
- Graph: graph/index.md
89
- Dynamic Programming: dynamic-programming/index.md
910
theme:
1011
name: material

0 commit comments

Comments
 (0)