← 返回 meta 的题目列表Valid Palindrome II with Alphanumeric and Case Ignore
类型:online_judge
meta
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome by deleting one character. Consider only alphanumeric characters and ignore cases.
Example:
Input: "abca" Output: True Explanation: You could delete the character 'c'.
Input: "racecar" Output: True
Input: "hello" Output: False
Example
Input
abca