Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit562db9a

Browse files
edit 138
1 parentd354ffb commit562db9a

File tree

1 file changed

+10
-7
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+10
-7
lines changed

‎src/main/java/com/fishercoder/solutions/_138.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ public RandomListNode copyRandomList(RandomListNode head) {
2929

3030
returnmap.get(head);
3131
}
32-
}
3332

34-
// Definition for singly-linked list with a random pointer.
35-
classRandomListNode {
36-
intlabel;
37-
RandomListNodenext,random;
38-
RandomListNode(intx) {this.label =x; }
39-
}
33+
// Definition for singly-linked list with a random pointer.
34+
classRandomListNode {
35+
intlabel;
36+
RandomListNodenext,random;
37+
38+
RandomListNode(intx) {
39+
this.label =x;
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp