← All problems
Medium · Graphs

Clone Graph

Deep-copy the nodes and adjacency relationships of a connected graph.

Full problem and submission ↗
main.js

Console

Ready