Infogain interview question

code to find palindromes?