Question d’entretien chez Horizontal

Palindrome question and code for the same