Question d’entretien chez Mercer

remove consecutive duplicate character from a string.