Algorithms and Data Structures · Middle · Question 31 of 75

What is a topological sort?

Explanation

It's how build tools, package managers and task schedulers order work: a task comes after everything it depends on. It exists only if the graph has no cycles.

Further reading

Problem with a question

Algorithms and Data Structures · Middle · question 31

Test yourself

Take the Algorithms and Data Structures · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz