題組內容

四、一個有向圖形(directed graph),若圖形的任何路徑(path)沒有環路(cycle), 則此圖形可找到拓樸排序(topological sorting),問:

⑵舉出一種拓樸排序的應用。(3 分)