Oracle Interview Question

Reverse a string without using library functions