Question d’entretien chez Google

String manipulation question with Lists