Given a non-empty string s
, you may delete at most one character. Judge whether you can make it a palindrome.
Example 1:
1 |
Input: "aba" |
Example 2:
1 |
Input: "abca" |
1 |
class { |
Given a non-empty string s
, you may delete at most one character. Judge whether you can make it a palindrome.
Example 1:
1 |
Input: "aba" |
Example 2:
1 |
Input: "abca" |
1 |
class { |
近期评论