EasyString· 71% acceptance
#493

Valid Palindrome 43

Easy

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

Example 1

Input: s = "open43"

Output: false

Constraints

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

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

isPalindrome

← All practice problems