Valid Palindrome
MicrosoftFacebook
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
Example:
Input: "A man, a plan, a canal: Panama"
Output: true
Examples:
Input 1:
{"s":"A man, a plan, a canal: Panama"}Output 1:
trueInput 2:
{"s":"race a car"}Output 2:
falseLoading editor...
Run your code to see results
Click the Run button above