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 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する