Pregunta de entrevista de Fidelity Investments

Reverse a string without using built-in functions