Roll (CA) Interview Question

Check if the given string is palindrome.