Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

Topological order

Also written: topological sort, topological ordering

An order of tasks in which every task comes after everything it depends on. Jo's morning has several valid ones, since the grinder can be cleaned any time before bagging.

Where the book teaches it

Related terms

Kahn's algorithmDependencyCycle