Domanda di colloquio di SLB

They asked to write an algorithm to detect a palindrome.