Domanda di colloquio di Accenture

Maximum consecutive repeating character in string [DSA Question]