Clone Graph

Clone an undirected graph given its adjacency list representation.

Examples
Input: [[2,4],[1,3],[2,4],[1,3]]
Output: [[2,4],[1,3],[2,4],[1,3]]
Hints
Related Problems

Clone Graph

Clone an undirected graph given its adjacency list representation.