Pergunta de entrevista da empresa Quantcast

Longest Substring with up to 2 repeating characters.