Pregunta de entrevista de Accenture

Write a program to Reverse a string.