Pergunta de entrevista da empresa SRI Delhi

One Graph Question based on DFS.