Question d’entretien chez Standard Chartered Bank

graph question based on dfs.