Pergunta de entrevista da empresa Born Group

Write code to reverse string.