Pregunta de entrevista de IQVIA

Reverse a string without using in-built functions.