You are given a string s of uppercase English letters and an integer k. You may pick at most k positions in the string and replace each chosen character with any uppercase letter.
Return the length of the longest substring that can be made up of a single repeated character after performing at most k replacements.
"ABAB", 2"AABABBA", 1"AAAA", 0"ABCDE", 1"A", 0"ABBB", 0"AAAB", 0