We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97b923 commit ab6a152Copy full SHA for ab6a152
src/main/java/com/fishercoder/solutions/_680.java
@@ -1,23 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- * 680. Valid Palindrome II
5
- *
6
- * Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome.
7
-
8
- Example 1:
9
- Input: "aba"
10
- Output: True
11
12
- Example 2:
13
- Input: "abca"
14
15
- Explanation: You could delete the character 'c'.
16
17
- Note:
18
- The string will only contain lowercase characters a-z. The maximum length of the string is 50000.
19
20
- */
21
public class _680 {
22
public static class Solution1 {
23
public boolean validPalindrome(String s) {
0 commit comments