Add detect cycle.

This commit is contained in:
Oleksii Trekhleb
2018-05-04 07:04:37 +03:00
parent 843893e8e7
commit 47ac5fcd70
8 changed files with 192 additions and 2 deletions

View File

@@ -68,7 +68,7 @@
* [Breadth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/breadth-first-search) (BFS)
* [Dijkstra Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/dijkstra) - finding shortest path to all graph vertices
* [Bellman-Ford Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/bellman-ford) - finding shortest path to all graph vertices
* Detect Cycle
* [Detect Cycle](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/detect-cycle)
* Topological Sorting
* Eulerian path, Eulerian circuit
* Strongly Connected Component algorithm