Sliding window :
https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
(P)
https://leetcode.com/problems/find-k-length-substrings-with-no-repeated-characters
(P)
https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
https://leetcode.com/problems/fruit-into-baskets
https://leetcode.com/problems/minimum-size-subarray-sum
https://leetcode.com/problems/substrings-of-size-three-with-distinct-characters
https://leetcode.com/problems/number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
https://leetcode.com/problems/distinct-numbers-in-each-subarray
https://leetcode.com/problems/diet-plan-performance
1695. Maximum Erasure Value