Topic: Stack Problem / Level: advanced

Problem: Write a stack-based solution to find all topological sorts of a directed acyclic graph (DAG).

Run the code to see the output here...