Skip to content

Commit 9c40be3

Browse files
fix build
1 parent b7f23ed commit 9c40be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public ListNode swapNodes(ListNode head, int k) {
4545
n++;
4646
}
4747

48-
int nums[] = new int[n];
48+
int[] nums = new int[n];
4949
current = head;
5050
int i = 0;
5151
while (current != null) {

0 commit comments

Comments
 (0)