Domanda di colloquio di SAP

Write an algorithm that determines if two strings are palindromes