Domanda di colloquio di Google

It was an algorithm design question concerning graph theory