Pergunta de entrevista da empresa Cenzic

Given a string, find the substring with the largest number of repeated characters. Eg: Given String: aaabbbbccccccdd Ans: cccccc