Domanda di colloquio di Standard Chartered Bank

graph question based on dfs.