Pergunta de entrevista da empresa Yelp

Onsite Tech #3: Traversing a directed graph to find all weakly connected components