leetcode

424. Longest Repeating Character Replacement

Solution

_n = s _

Time complexity: O(n)

_k = alphabet = 26_

Space complexity: O(k)