題組內容

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

⑶給一 n 個節點(vertex)的有向圖 G 的鄰接矩陣,請問計算圖 G 的一個節點的出 分支度(out degree)的時間複雜度為何?(5 分)