Pergunta de entrevista da empresa BeeHyv Software Solutions

How to reverse a string?