Glossary term

What is topological sort? Meaning for developers

A line-up of a directed graph's vertices where every arrow points forward. It is only possible when the graph has no cycle.

Learn it properly · DSALesson 51: Topological SortPut tasks in order when some depend on others, and find loops (cycles).

All DSA terms

Related terms

← All glossary terms, A to Z