Question d’entretien chez TeamViewer

I was asked to reverse a String