Glossary: Algorithms Beyond the Basics in Go
Kahn's algorithm
Also written: Kahn
A topological sort that repeatedly takes a task with in-degree 0, adds it to the order, and lowers the in-degree of the tasks after it. A short result means a cycle.
Glossary: Algorithms Beyond the Basics in Go
Also written: Kahn
A topological sort that repeatedly takes a task with in-degree 0, adds it to the order, and lowers the in-degree of the tasks after it. A short result means a cycle.