Question d’entretien chez Finastra

Create a method that determines if a string is a palindrome.