EasyString· 68% acceptance
#473

Valid Palindrome 23

Easy

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

Example 1

Input: s = "open23"

Output: false

Constraints

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

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

isPalindrome

← All practice problems