題組內容

一、圖(graph)的表示法(Graph Representation)

⑷給一 n 個節點(vertex)的有向圖 G 的鄰接矩陣,請簡述判斷圖 G 是否連通 (connected)的演算法。(5 分)