Pregunta de entrevista de RTX

Write a program that can reverse a string.