Problem | Difficulty |
---|---|
1456. Maximum Number of Vowels in a Substring of Given Length | Medium (1263) |
@@1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold | Medium (1317) |
2090. K Radius Subarray Averages | Medium (1358) |
1876. Substrings of Size Three with Distinct Characters | Easy |
219. Contains Duplicate II | Easy |
438. Find All Anagrams in a String | Medium |
567. Permutation in String | Medium |
2461. Maximum Sum of Distinct Subarrays With Length K | Medium (1552) |
1423. Maximum Points You Can Obtain from Cards | Medium (1573) |
@@1652. Defuse the Bomb | Easy (1416) |
- https://leetcode.com/problems/maximum-average-subarray-i/description/ e
- https://leetcode.com/problems/find-the-k-beauty-of-a-number/ 1279
- https://leetcode.com/problems/minimum-difference-between-highest-and-lowest-of-k-scores/description/ 1306
- https://leetcode.com/problems/minimum-recolors-to-get-k-consecutive-black-blocks/description/ 1360
- https://leetcode.com/problems/grumpy-bookstore-owner/description/ 1418
- https://leetcode.com/problems/maximum-sum-of-almost-unique-subarray/description/ 1545
- ---- Advanced (Optional) ----
- https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring/description/ 1748
- https://leetcode.com/problems/minimum-swaps-to-group-all-1s-together-ii/description/ 1748
- https://leetcode.com/problems/sliding-subarray-beauty/description/ 1785
- https://leetcode.com/problems/minimum-number-of-flips-to-make-the-binary-string-alternating/description/ 2005
Problem | Difficulty |
---|---|
3. Longest Substring Without Repeating Characters | Medium |
@@1695. Maximum Erasure Value | Medium (1528) |
@@1493. Longest Subarray of 1's After Deleting One Element | Medium (1423) |
1004. Max Consecutive Ones III | Medium (1656) |
424. Longest Repeating Character Replacement | Medium |
904. Fruit Into Baskets | Medium (1516) |
@@2779. Maximum Beauty of an Array After Applying Operation | Medium (1638) |
- https://leetcode.com/problems/maximum-length-substring-with-two-occurrences/description/ 1329
- https://leetcode.com/problems/find-the-longest-semi-repetitive-substring/description/ 1501
- https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-frequency/description/ 1535
- https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero/description/ 1817
- ---- Advanced (Optional) ----
- https://leetcode.com/problems/frequency-of-the-most-frequent-element/description/ 1876
- https://leetcode.com/problems/take-k-of-each-character-from-left-and-right/description/ 1947
- https://leetcode.com/problems/find-the-longest-equal-subarray/description/ 1976
- TODO: https://leetcode.com/problems/maximum-white-tiles-covered-by-a-carpet/ 2021
- TODO: My contest 3413. Maximum Coins From K Consecutive Bags 2373
Problem | Difficulty |
---|---|
209. Minimum Size Subarray Sum | Medium |
76. Minimum Window Substring | Hard |
@@1234. Replace the Substring for Balanced String | Medium (1877) |
Problem | Difficulty |
---|---|
@@3325. Count Substrings With K-Frequency Characters I | Medium (1454) |
@@2799. Count Complete Subarrays in an Array | Medium (1397) |
- https://leetcode.com/problems/number-of-substrings-containing-all-three-characters/description/ 1646
- https://leetcode.com/problems/count-subarrays-where-max-element-appears-at-least-k-times/description/ 1700
- https://leetcode.com/problems/count-the-number-of-good-subarrays/description/ 1892
- https://leetcode.com/problems/subarrays-with-k-different-integers/ 2210, similar problem to
2799. Count Complete Subarrays in an Array
Problem | Difficulty |
---|---|
713. Subarray Product Less Than K | Medium |
- https://leetcode.com/problems/count-substrings-that-satisfy-k-constraint-i/description/ 1258
- https://leetcode.com/problems/count-subarrays-with-score-less-than-k/description/ 1808
- https://leetcode.com/problems/continuous-subarrays/description/ 1940
- https://leetcode.com/problems/subarrays-with-k-different-integers/description/ 2210
Problem | Difficulty |
---|---|
239. Sliding Window Maximum | Hard |
- https://leetcode.com/problems/binary-subarrays-with-sum/description/ 1591
- https://leetcode.com/problems/count-number-of-nice-subarrays/description/ 1623
- https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/description/ 1672
- https://leetcode.com/problems/count-subarrays-where-max-element-appears-at-least-k-times/description/ 1700
- https://leetcode.com/problems/longest-nice-subarray/ 1749
- https://leetcode.com/problems/swap-for-longest-repeated-character-substring/description/ 1787
- 438. Find All Anagrams in a String
- 2461. Maximum Sum of Distinct Subarrays With Length K
- 3. Longest Substring Without Repeating Characters
- 1004. Max Consecutive Ones III
- 424. Longest Repeating Character Replacement
- 209. Minimum Size Subarray Sum
- 76. Minimum Window Substring
- 1234. Replace the Substring for Balanced String
- 713. Subarray Product Less Than K
- 2875. Minimum Size Subarray in Infinite Array
- 239. Sliding Window Maximum