Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ce7e1d0

Browse files
committed
Create README - LeetHub
1 parent 63638f5 commit ce7e1d0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

‎680-valid-palindrome-ii/README.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<h2><a href="https://leetcode.com/problems/valid-palindrome-ii/">680. Valid Palindrome II</a></h2><h3>Easy</h3><hr><div><p>Given a string <code>s</code>, return <code>true</code> <em>if the </em><code>s</code><em> can be palindrome after deleting <strong>at most one</strong> character from it</em>.</p>
2+
3+
<p>&nbsp;</p>
4+
<p><strong>Example 1:</strong></p>
5+
6+
<pre><strong>Input:</strong> s = "aba"
7+
<strong>Output:</strong> true
8+
</pre>
9+
10+
<p><strong>Example 2:</strong></p>
11+
12+
<pre><strong>Input:</strong> s = "abca"
13+
<strong>Output:</strong> true
14+
<strong>Explanation:</strong> You could delete the character 'c'.
15+
</pre>
16+
17+
<p><strong>Example 3:</strong></p>
18+
19+
<pre><strong>Input:</strong> s = "abc"
20+
<strong>Output:</strong> false
21+
</pre>
22+
23+
<p>&nbsp;</p>
24+
<p><strong>Constraints:</strong></p>
25+
26+
<ul>
27+
<li><code>1 &lt;= s.length &lt;= 10<sup>5</sup></code></li>
28+
<li><code>s</code> consists of lowercase English letters.</li>
29+
</ul>
30+
</div>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /