And it runs linearly in the number of edges!
I expect Prolog to be slower for large and hard inputs. But Makefiles solve exactly that!
[1]: https://en.m.wikipedia.org/wiki/Topological_sorting
And it runs linearly in the number of edges!
I expect Prolog to be slower for large and hard inputs. But Makefiles solve exactly that!
[1]: https://en.m.wikipedia.org/wiki/Topological_sorting