看到這個 Algorithm 腦中直接想到
Prim Greedy、MST
Kruskal Greedy、MST
Dijkstra Greedy、Single Source、不能負邊
Bellman-Ford DP/Relaxation、Single Source、可負邊
Floyd-Warshall DP、All Pairs
DFS Cycle、Topo、SCC、Articulation、Bridge
BFS Unweighted Shortest Path
Huffman Greedy
0-1 Knapsack DP
Fractional Knapsack Greedy
Optimal BST DP
LCS DP
Matrix Chain DP
Topological Sort DFS / Indegree
SCC DFS
Articulation Point DFS + dfn/low