Computer scienceAlgorithms and Data StructuresAlgorithmsGraph algorithmsTopological sorting algorithms

DFS-based topological sort

Sort a graph

Report a typo

Given below is a directed acyclic graph:

directed acyclic graph

Find a topological order for the nodes of a graph. For example, your output may look like this:

E F C A B D E
Enter a short text
___

Create a free account to access the full topic