Question d’entretien chez Accenture

Write a code for string is palindrome or not.