Skip to content

Commit 4da56e6

Browse files
refactor 382
1 parent d7eb968 commit 4da56e6

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

src/main/java/com/fishercoder/solutions/_382.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
public class _382 {
1010

11-
public static class Solution1 {
11+
public static class Solution {
1212
private Map<Integer, ListNode> map;
1313
private Random rand;
1414

1515
/**
1616
* @param head The linked list's head. Note that the head is guanranteed to be not null, so it contains at least one node.
1717
*/
18-
public Solution1(ListNode head) {
18+
public Solution(ListNode head) {
1919
map = new HashMap();
2020
rand = new Random();
2121
int i = 0;

0 commit comments

Comments
 (0)