Question d’entretien chez Accenture

Maximum consecutive repeating character in string [DSA Question]