Check Palindrome (Case-Insensitive)

E · easyP · Verified PYQstrings

Given a string, check if it is a palindrome. Ignore spaces and case while checking.

Input
Race Car
Output
YES
Remove spaces, convert to lowercase, compare with its reverse.
← Check Leap YearCheck Palindrome Number →
Report an issue with this question