Use Case: Flashcards
Name graph algorithms that are used for:Traversing a Graph
DFS, Explore, BFS
Name graph algorithms that are used for:Getting Components
SCC
Name graph algorithms that are used for:Getting Shortest Paths
Dijkstra’s, Bellman Ford, Floyd Warshall
Name graph algorithm that are used for:Finding MSTs
Kruskal’s, Prims
Name graph algorithm that are used for:finding an existing path
2-SAT
Name graph algorithms that are used for: Finding the Max Flow
Ford-FulkersonEdmonds-Karp
What is the best algorithm for determining the shortest path of graph G that is weighted with positive weights?
Djikstra’s
What are the best algorithms for determining the shortest path of graph G that is weighted with negative weights?
Bellman Ford or Floyd Warshall
What are the best algorithms for determining the best capacity?
Ford-Fulkerson and Edmonds-Karp
What is the best algorithm to convert a graph to a topologically sorted DAG?
SCC
What is the best algorithm to find the shortest path from all vertices of a directed, weighted graph with negative weights?
Floyd Warshall
What is the best algorithm to find the shortest path from a given vertex of a directed, weighted graph with negative weights?
Bellman Ford