其實BFS, DFS, Prim's algorithm, Dijkstra's algorithm 原先是各不相干的; 但Robert Sedgewick 看出它們的相關性, 用一個演算法解決以上所有問題。 All-Pair Shortest ...
確定! 回上一頁