You are given a string s and an integer k. You may change up to k characters in the string to any other uppercase English letters to achieve the longest possible substring with all identical letters. Return the length of the longest such substring.
Click Run to execute sample tests.