Pergunta de entrevista da empresa Apolis

Write a function to reverse a string in a language you're comfortable with.