题目描述
[340至多包含 K 个不同字符的最长子串]
(https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters/)
[992 K 个不同整数的子数组]
(https://leetcode-cn.com/problems/subarrays-with-k-different-integers/)
image.png
image.png
[340至多包含 K 个不同字符的最长子串]
(https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters/)
[992 K 个不同整数的子数组]
(https://leetcode-cn.com/problems/subarrays-with-k-different-integers/)