EasyString· 64% acceptance
#486

Valid Palindrome 36

Easy

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

Example 1

Input: s = "racecar36"

Output: false

Constraints

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

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

isPalindrome

← All practice problems