Pregunta de entrevista de Born Group

Write code to reverse string.