Skip to content

Commit 2ee8923

Browse files
author
Hamid Gasmi
committed
Strongly Connected Components section is updated
1 parent 0f5dcdb commit 2ee8923

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -1643,14 +1643,24 @@
16431643
- For more details:
16441644
- UC San Diego Course:[DAGs](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/blob/master/3-graph-algorithms/1_graph_decomposition/09_graph_decomposition_6_dags.pdf)
16451645
- UC San Diego Course:[Topological Sort](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/blob/master/3-graph-algorithms/1_graph_decomposition/09_graph_decomposition_7_topological-sort.pdf)
1646+
- Geeks for Geeks: [topological sort with In-degree](https://www.geeksforgeeks.org/topological-sorting-indegree-based-solution/)
16461647
- [Topological Sort using DFS: Visualization](https://www.cs.usfca.edu/~galles/visualization/TopoSortDFS.html)
16471648
- [Topological sort using indegree array: Visualization](https://www.cs.usfca.edu/~galles/visualization/TopoSortIndegree.html)
16481649

16491650
</details>
16501651

16511652
<details>
1652-
<summary>DAGs: Strongly Connected Components</summary>
1653-
1653+
<summary>Strongly Connected Components</summary>
1654+
1655+
- **Connected vertices**:
1656+
- 2 vertices v, w in a directed graph are connected:
1657+
- if you can reach v from w and can reach w from v
1658+
- **Strongly connected graph**: is a directed graph where every vertex is reachable from every other vertex
1659+
- **Strongly connected components**: It's a collection of subgraphs of an arbitrary directed graph that are strongly connected
1660+
- **Metagraph**:
1661+
- It's formed from all strongly connected components
1662+
- Each stromgly connected components is represented by a vertice
1663+
- **The metagraph of a directed graph is always a DAG**
16541664
- For more details:
16551665
- UC San Diego Course:[Strongly Connected Components I](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/blob/master/3-graph-algorithms/1_graph_decomposition/09_graph_decomposition_8_strongly-connected-components.pdf)
16561666
- UC San Diego Course:[Strongly Connected Components II](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/blob/master/3-graph-algorithms/1_graph_decomposition/09_graph_decomposition_9_computing-sccs.pdf)

0 commit comments

Comments
 (0)