The topological sorting algorithm works on unconnected graphs as well as connected graphs.

  • 拓扑排序算法既可以用于连通图,也可以用于非连通图。
目录 查词历史