Pergunta de entrevista da empresa Google

Around leetcode medium level, just use deep first search