Skip to content

Commit a320df3

Browse files
committed
#2962: description update
1 parent 40efbcd commit a320df3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
* Example 1:
1111
* Input: nums = [1,3,2,3,3], k = 2
1212
* Output: 6
13-
* Explanation: The subarrays that contain the element 3 at least 2 times are: [1,3,2,3], [1,3,2,3,3], [3,2,3], [3,2,3,3], [2,3,3] and [3,3].
13+
* Explanation:
14+
* The subarrays that contain the element 3 at least 2 times are:
15+
* [1,3,2,3], [1,3,2,3,3], [3,2,3], [3,2,3,3], [2,3,3] and [3,3].
1416
*
1517
* Example 2:
1618
* Input: nums = [1,4,2,1], k = 3

0 commit comments

Comments
 (0)