Harness Interview Question

Topo Sort and other basic DSA