Topological sorting

Created on 2020-12-27T20:42:33-06:00

Return to the Index

This card can also be read via Gemini.

Given a graph with no cycles: create a list of nodes wherein nodes with less dependencies appear earlier in the list.

Topological sorts can be used to turn a graph of dependencies in to an orderred list of tasks to perform.