https://leetcode.com/problems/get-equal-substrings-within-budget/description/
Max substring
Max substring
sum(abs(s[..] - t[..])) < maxCost
#medium #sliding_window👍2🔥1
https://leetcode.com/problems/grumpy-bookstore-owner/description/
Max customers sum after make consecutive
Max customers sum after make consecutive
minutes
non-grumpy #medium #sliding_window👍4🔥1
https://leetcode.com/problems/count-number-of-nice-subarrays/description/
Count subarrays with
Count subarrays with
k
odds #medium #sliding_window👍3
https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/description/
Longest subarray with
Longest subarray with
abs(a[i] - a[j]) <= limit
#medium #sliding_window #monotonic_queue👍2
https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips/description/
Count
Count
k
-range flips in binary array to make all 1
#hard #sliding_window👍2
https://leetcode.com/problems/minimum-difference-between-largest-and-smallest-value-in-three-moves/description/
Min difference after 3 changes in array #medium #sliding_window #dynamic_programming
Min difference after 3 changes in array #medium #sliding_window #dynamic_programming
👍2
https://leetcode.com/problems/minimum-swaps-to-group-all-1s-together-ii/description/
Min swaps to make a circular [01] array #medium #sliding_window
Min swaps to make a circular [01] array #medium #sliding_window
👍3
https://leetcode.com/problems/shortest-subarray-with-or-at-least-k-ii/description/
Min subarray with
Min subarray with
OR[..] >= k
#medium #bit_manipulation #sliding_window👍3🤣1
https://leetcode.com/problems/find-the-power-of-k-size-subarrays-i/description/
Tops of consecutive increasing windows #medium #sliding_window
Tops of consecutive increasing windows #medium #sliding_window
👍3
https://leetcode.com/problems/defuse-the-bomb/description/
Next
Next
+-k
window sums #easy #sliding_window👍1
https://leetcode.com/problems/maximum-sum-of-distinct-subarrays-with-length-k/description/
Max
Max
k
-unique window sum #medium #sliding_window👍3
https://leetcode.com/problems/find-longest-special-substring-that-occurs-thrice-i/description/
Max same-char 3-windows length #medium #sliding_window
Max same-char 3-windows length #medium #sliding_window
👍2
https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays/description/
3 max non-intersecting intervals #hard #dynamic_programming #sliding_window
3 max non-intersecting intervals #hard #dynamic_programming #sliding_window
👍2
Min 'W' flips to make k 'B' #medium #sliding_window
https://leetcode.com/problems/minimum-recolors-to-get-k-consecutive-black-blocks/description
https://leetcode.com/problems/minimum-recolors-to-get-k-consecutive-black-blocks/description
👍2
https://leetcode.com/problems/count-the-number-of-good-subarrays/description/
Subarrays with at least k equal pairs #medium #sliding_window #math
Subarrays with at least k equal pairs #medium #sliding_window #math
👍1
# 9.07.2025
[3439. Reschedule Meetings for Maximum Free Time I](https://leetcode.com/problems/reschedule-meetings-for-maximum-free-time-i/description) medium
Max free time after moving k events together #medium #sliding_window
[3439. Reschedule Meetings for Maximum Free Time I](https://leetcode.com/problems/reschedule-meetings-for-maximum-free-time-i/description) medium
Max free time after moving k events together #medium #sliding_window
👍1