Bloomberg interview question

Deep copy a graph using dfs.