Pregunta de entrevista de Cognizant

Reverse a string without using built in method