Skip to content
RED SAG Skills
hard20 pts · first answer countsgraphstopological-sortrecursion

Topological sort on a 200,000-step chain

A monorepo has 200,000 modules, many in one long dependency chain. A recursive DFS topological sort crashes. What is the simplest robust fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions