Question d’entretien chez Vanguard

Write a function to determine if a given string is a palindrome