Frage im Vorstellungsgespräch bei Thomson Reuters

Write an algorithm that checks strings for palindromes.