所屬科目:研究所、轉學考(插大)-資料結構
(b) Next, write down the pseudocode for your DFS algorithm following implementation specifications below. You must include your idea given in (a) in your pseudocode. You may include any additional functions required for your implementation. Note: your pseudocode should be clearly written so that any programmer is able to read and implement your pseudocode. (20%)
(c) Refer to the pseudocode below for this question. Given a graph G, use your pseudocode in part (b) above to traverse G and print the order in which the vertices are visited. Your answer should be printed like this: (6%)