Swap For Longest Repeated Character Substring

Swap For Longest Repeated Character Substring - Coding Problem | K5kC