Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Definition for undirected graph.
- * class UndirectedGraphNode {
- * int label;
- * List<UndirectedGraphNode> neighbors;
- * UndirectedGraphNode(int x) { label = x; neighbors = new ArrayList<UndirectedGraphNode>(); }
- * };
- */
- public class Solution {
- public UndirectedGraphNode cloneGraph(UndirectedGraphNode node) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement