kruskal
bfs
strongly connected components
dfs
kruskal
topological sort
transpose
bfs
strongly connected components
dfs
kruskal
prim
topological sort
transpose
bfs
kruskal
prim
bfs
strongly connected components
dfs