0125. Valid Palindrome
https://leetcode.com/problems/valid-palindrome
Description
Given a string s
, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
Example 1:
Example 2:
Constraints:
1 <= s.length <= 2 * 105
s
consists only of printable ASCII characters.
ac1: 2 pointers
Last updated
Was this helpful?