10. Valid Palindrome

Ignoring case and every character that is not a letter or digit, does s read the same forwards and backwards?

Example 1

Input: s = "Was it a car, or a cat I saw?"
Output: true

Example 2

Input: s = "race a car"
Output: false
Hint 1

Put one pointer at each end and walk them toward each other, skipping non-alphanumeric characters.

Two PointersString