There was an error while loading. Please reload this page.
1 parent 88ddefd commit aa00fddCopy full SHA for aa00fdd
Python/CloneGraph.py
Python/clone-graph.py
@@ -0,0 +1,4 @@
1
+import copy
2
+class Solution:
3
+ def cloneGraph(self, node: 'Node') -> 'Node':
4
+ return copy.deepcopy(node)
0 commit comments