#2EasyStrings
Valid Palindrome
▧Problem
Given a string s, return true if it is a palindrome after converting uppercase letters to lowercase and removing all non-alphanumeric characters.
Examples
INPUT
s = "A man, a plan, a canal: Panama"
OUTPUT
true
INPUT
s = "race a car"
OUTPUT
false
Constraints
- 1 <= s.length <= 2 × 10⁵
- The string contains printable ASCII characters.