Question d’entretien chez Microsoft

Write a program to return true if the string is a palindrome