Meta interview question

Given a cyclic graph, deep copy it