Question d’entretien chez Amazon

coding question about longest palindrome