Question d’entretien chez SAP

Write an algorithm that determines if two strings are palindromes