EasyString· 74% acceptance
#479

Valid Palindrome 29

Easy

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

Example 1

Input: s = "hello29"

Output: false

Constraints

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

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

isPalindrome

← All practice problems