Computer scienceAlgorithms and Data StructuresAlgorithmsGraph algorithmsTopological sorting algorithms

DFS-based topological sort

A friend among strangers

Report a typo

Here we have a lonely directed acyclic graph, which has not yet met its topological sorting. Can you help it find its partner?

oriented graph, whose topological sort should be found

Select one option from the list
___

Create a free account to access the full topic