Question d’entretien chez Thomson Reuters

Write an algorithm that checks strings for palindromes.