Wipro interview question

Check if a string is palindrome or not.