Zuora interview question

Invert a string