Skip to content

Commit 30ffbba

Browse files
authored
Improved task 2444.
1 parent e14a4e9 commit 30ffbba

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g2401_2500/s2444_count_subarrays_with_fixed_bounds

1 file changed

+1
-1
lines changed

src/main/java/g2401_2500/s2444_count_subarrays_with_fixed_bounds/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class Solution {
77
public long countSubarrays(int[] nums, int minK, int maxK) {
88
long ans = 0;
99
int i = 0;
10-
while ( i < nums.length) {
10+
while (i < nums.length) {
1111
if (nums[i] >= minK && nums[i] <= maxK) {
1212
int a = i;
1313
int b = i;

0 commit comments

Comments
 (0)