Problem 133 · Medium
DFS with a visited map to deep-clone nodes and their adjacency lists.
Open the interactive visualisation