Pregunta de entrevista de Wittybrains Software Technologies

how to reverse the string?