Pergunta de entrevista da empresa Pinterest

Leetcode question on finding paths in a graph problem.