EasyString· 70% acceptance
#458

Valid Palindrome 8

Easy

After removing non-alphanumeric characters and ignoring case, determine if `s` reads the same forward and backward. Variant **#8**.

Example 1

Input: s = "racecar8"

Output: false

Constraints

  • 1 <= s.length <= 2 * 10^5

Acceptance: 70% · Topics: string, two-pointers

isPalindrome

← All practice problems