Pregunta de entrevista de Geotab

How would you reverse a string?