Skip to content

Commit 5fc29ed

Browse files
committed
Create README - LeetHub
1 parent cef9d93 commit 5fc29ed

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<h2><a href="https://leetcode.com/problems/longest-palindromic-substring/">5. Longest Palindromic Substring</a></h2><h3>Medium</h3><hr><div><p>Given a string <code>s</code>, return <em>the longest palindromic substring</em> in <code>s</code>.</p>
2+
3+
<p>&nbsp;</p>
4+
<p><strong>Example 1:</strong></p>
5+
6+
<pre><strong>Input:</strong> s = "babad"
7+
<strong>Output:</strong> "bab"
8+
<strong>Explanation:</strong> "aba" is also a valid answer.
9+
</pre>
10+
11+
<p><strong>Example 2:</strong></p>
12+
13+
<pre><strong>Input:</strong> s = "cbbd"
14+
<strong>Output:</strong> "bb"
15+
</pre>
16+
17+
<p>&nbsp;</p>
18+
<p><strong>Constraints:</strong></p>
19+
20+
<ul>
21+
<li><code>1 &lt;= s.length &lt;= 1000</code></li>
22+
<li><code>s</code> consist of only digits and English letters.</li>
23+
</ul>
24+
</div>

0 commit comments

Comments
 (0)