424. Longest Repeating Character Replacement
https://leetcode.com/problems/longest-repeating-character-replacement/
solution
转化为滑动窗口中,窗口里最多有k个其他字符的最长子串
时间复杂度:O(n) 空间复杂度:O(1)
Last updated
https://leetcode.com/problems/longest-repeating-character-replacement/
转化为滑动窗口中,窗口里最多有k个其他字符的最长子串
时间复杂度:O(n) 空间复杂度:O(1)
Last updated