Exactly k times = At Most k times - At Most k - 1 times.
k
k - 1
930. Binary Subarrays With Sum (Medium)arrow-up-right
992. Subarrays with K Different Integers (Hard)arrow-up-right
1248. Count Number of Nice Subarrays (Medium)arrow-up-right
Last updated 4 years ago
Was this helpful?