hedbladucf / toposort Goto Github PK
View Code? Open in Web Editor NEWProgram that reads in file(s) and determines whether an arbitrary directed graph has a valid topological sort in which some vertex, in this case, X, comes before another vertex, Y.