Write a program to check whether a string is a palindrome.
Asked in
Examples
Click Run to test sample cases, or Submit to evaluate all cases