Given a string s, determine if it is a palindrome, considering only alphanumeric characters and ignoring case.
A palindrome reads the same forward and backward. For example, "A man, a plan, a canal: Panama" is a palindrome when you strip non-alphanumeric characters and ignore case.
s = "A man, a plan, a canal: Panama"trues = "race a car"falses = " "true0 <= s.length <= 2 * 10^5s consists of printable ASCII characters.Run your code to see results
Use Cmd+Enter to run