Pergunta de entrevista da empresa HashedIn by Deloitte

Write a program to reverse a string.