Question d’entretien chez Apple

Write a program that determines if an input string has palindromes.