Explanation: We can swap the first 'b' with the last 'a', or the last 'b' with the first 'a'. Then, the longest repeated character substring is "aaa", which its length is 3. Explanation: Swap 'b' with ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results