Pregunta de entrevista de Google

Questions suggesting using DFS in graphs indirectly