Skip to content

Commit 93df21f

Browse files
committed
#2444: description update
1 parent a320df3 commit 93df21f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

c-sharp/Problems/sliding-window/CountSubarraysWithFixedBounds.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
* A subarray is a contiguous part of an array.
1313
*
1414
* Example 1:
15-
* Input: nums = [1,3,5,2,7,5], minK = 1, maxK = 5
16-
* Output: 2
17-
* Explanation: The fixed-bound subarrays are [1,3,5] and [1,3,5,2].
15+
* Input: nums = [1,3,5,2,7,5], minK = 1, maxK = 5
16+
* Output: 2
17+
* Explanation: The fixed-bound subarrays are [1,3,5] and [1,3,5,2].
1818
*
1919
* Example 2:
20-
* Input: nums = [1,1,1,1], minK = 1, maxK = 1
21-
* Output: 10
22-
* Explanation: Every subarray of nums is a fixed-bound subarray. There are 10 possible subarrays.
20+
* Input: nums = [1,1,1,1], minK = 1, maxK = 1
21+
* Output: 10
22+
* Explanation: Every subarray of nums is a fixed-bound subarray. There are 10 possible subarrays.
2323
*
2424
* Constraints:
25-
* • 2 <= nums.length <= 105
26-
* • 1 <= nums[i], minK, maxK <= 106
25+
* • 2 <= nums.length <= 10^5
26+
* • 1 <= nums[i], minK, maxK <= 10^6
2727
*
2828
* Hint 1
2929
* Can you solve the problem

0 commit comments

Comments
 (0)