Topological Sort

Revision en1, by fker, 2026-04-04 16:35:07

2143C - Max Tree It is useful, and actually very easy to implement.

I tried to solve it with DFS, but not very obviously,that's not gonna work.

Spoiler
Tags topological sort, graph

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fker 2026-04-04 16:35:07 550 Initial revision (published)