Article (in Russian): https://habr.com/ru/post/451208/
Code: https://github.com/slonopotamus/stable-topo-sort/blob/master/test/StableTopoSort.java#L16
Stable "topologic" sort of directed graphs with cycles in O(|V| + |e| log |e|)
Article (in Russian): https://habr.com/ru/post/451208/
Code: https://github.com/slonopotamus/stable-topo-sort/blob/master/test/StableTopoSort.java#L16
Stable "topologic" sort of directed graphs with cycles in O(|V| + |e| log |e|)
The Unlicense