Oracle Interview Question

Reversing a number: coding question