Question d’entretien chez Qualtrics

How do you write a function that finds palindromes