.設G=(VE)以鄰接表存儲如圖所示試畫出圖的深度優先和廣度優先生成樹【北京輕工業學院 八 (分)】
.對一個圖進行遍歷可以得到不同的遍歷序列那麼導致得到的遍歷序列不唯一的因素有哪些?【北京航空航天大學 一 (分)】
.解答下面的問題
().如果每個指針需要個字節每個頂點的標號占個字節每條邊的權值占個字節下圖采用哪種表示法所需的空間較多?為什麼?
().寫出下圖從頂點開始的DFS樹【西安電子科技大學 計應用 六 (分)】
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
From:http://tw.wingwit.com/Article/program/sjjg/201311/23121.html