We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f23ed commit 9c40be3Copy full SHA for 9c40be3
src/main/java/com/fishercoder/solutions/_1721.java
@@ -45,7 +45,7 @@ public ListNode swapNodes(ListNode head, int k) {
45
n++;
46
}
47
48
- int nums[] = new int[n];
+ int[] nums = new int[n];
49
current = head;
50
int i = 0;
51
while (current != null) {
0 commit comments