Question d’entretien chez Finastra

Coding question on strings (counting and arranging)