Domanda di colloquio di Infosys

How would you go about reversing a string?