Question d’entretien chez iDatalytics

write the code to check the string is palindrome