Topological sort can also be viewed as placing all the vertices along a horizontal line so that all directed edges go from left to right.
確定! 回上一頁