Domanda di colloquio di Vanta

Leetcode style question that involved topological sorting