Domanda di colloquio di Oracle

Write program to reverse a number, palindrome, reverse string.