Domanda di colloquio di Joom

Write code to detect cyclic dependencies in a given dependency tree