Question d’entretien chez Cisco

How to write code to check a pallindrome.