Skip to content

Commit e4123aa

Browse files
author
alxkm
committed
checkstyle: fix formatting
1 parent d21ac23 commit e4123aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/others/MaximumSumOfDistinctSubarraysWithLengthK.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static long maximumSubarraySum(int k, int... nums) {
2929
}
3030
long masSum = 0; // Variable to store the maximum sum of distinct subarrays
3131
long currentSum = 0; // Variable to store the sum of the current subarray
32-
Set<Integer> currentSet = new HashSet<>(); // Set to track distinct elements in the current subarray
32+
Set<Integer> currentSet = new HashSet<>(); // Set to track distinct elements in the current subarray
3333

3434
// Initialize the first window
3535
for (int i = 0; i < k; i++) {

0 commit comments

Comments
 (0)