Question d’entretien chez Accenture

Coding question based on array and string