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 e14a4e9 commit 30ffbbaCopy full SHA for 30ffbba
src/main/java/g2401_2500/s2444_count_subarrays_with_fixed_bounds/Solution.java
@@ -7,7 +7,7 @@ public class Solution {
7
public long countSubarrays(int[] nums, int minK, int maxK) {
8
long ans = 0;
9
int i = 0;
10
- while ( i < nums.length) {
+ while (i < nums.length) {
11
if (nums[i] >= minK && nums[i] <= maxK) {
12
int a = i;
13
int b = i;
0 commit comments