Pregunta de entrevista de Best Buy

How do you reverse this string.