Pregunta de entrevista de Automated Health Systems

How to reverse a string?