Pregunta de entrevista de proteanTecs

java, spring and a DFS question