Infogain Interview Question

code to find palindromes?