Longest Repeating Character Replacement — CaffeCode