Domanda di colloquio di Google

A difficult Leetcode Problem about graph