This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingConcept theory, tags and interview notes for Topological sort.
What this asks
Order tasks with dependencies.
Repeatedly take a vertex with no remaining incoming edges; the queue's order is the answer, and leftovers mean a cycle.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing