Roll (CA) interview question

Check if the given string is palindrome.