Question d’entretien chez Epic

Palindrome coding question need to solve