Pregunta de entrevista de Oracle

Reverse a string, asked different approaches.