algorithm · Level 1 · 10 min
Given a string s, return true if it is a palindrome, otherwise false. Ignore non-alphanumeric characters and case.
s.true if s is a palindrome (reads same forward and backward, ignoring non-alphanumeric and case), false otherwise.- `1 <= s.length <= 2 * 10^5` - `s` consists only of printable ASCII characters.
Return true or false.