Skip to content

Commit ec26f9a

Browse files
committed
updated
1 parent 7de6b83 commit ec26f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/slidingwindow/MaxSumKSizeSubarray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static int maxSumKSizeSubarray(int[] arr, int k) {
3030
return -1; // Edge case: not enough elements
3131
}
3232

33-
int maxSum ;
33+
int maxSum;
3434
int windowSum = 0;
3535

3636
// Calculate the sum of the first window

0 commit comments

Comments
 (0)