1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-22 21:46:46 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>给你一个字符串 <code>s</code>,找到 <code>s</code> 中最长的回文子串。</p>\n\n<p>&nbsp;</p>\n\n<p><strong>示例 1</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"babad\"\n<strong>输出:</strong>\"bab\"\n<strong>解释:</strong>\"aba\" 同样是符合题意的答案。\n</pre>\n\n<p><strong>示例 2</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"cbbd\"\n<strong>输出:</strong>\"bb\"\n</pre>\n\n<p>&nbsp;</p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 &lt;= s.length &lt;= 1000</code></li>\n\t<li><code>s</code> 仅由数字和英文字母组成</li>\n</ul>\n",
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 4948,
"likes": 4961,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Shortest Palindrome\", \"titleSlug\": \"shortest-palindrome\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u6700\\u77ed\\u56de\\u6587\\u4e32\"}, {\"title\": \"Palindrome Permutation\", \"titleSlug\": \"palindrome-permutation\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u56de\\u6587\\u6392\\u5217\"}, {\"title\": \"Palindrome Pairs\", \"titleSlug\": \"palindrome-pairs\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u56de\\u6587\\u5bf9\"}, {\"title\": \"Longest Palindromic Subsequence\", \"titleSlug\": \"longest-palindromic-subsequence\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u6700\\u957f\\u56de\\u6587\\u5b50\\u5e8f\\u5217\"}, {\"title\": \"Palindromic Substrings\", \"titleSlug\": \"palindromic-substrings\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u56de\\u6587\\u5b50\\u4e32\"}]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"950.3K\", \"totalSubmission\": \"2.6M\", \"totalAcceptedRaw\": 950254, \"totalSubmissionRaw\": 2612418, \"acRate\": \"36.4%\"}",
"stats": "{\"totalAccepted\": \"954K\", \"totalSubmission\": \"2.6M\", \"totalAcceptedRaw\": 953967, \"totalSubmissionRaw\": 2621455, \"acRate\": \"36.4%\"}",
"hints": [
"How can we reuse a previously computed palindrome to compute a larger palindrome?",
"If “aba” is a palindrome, is “xabax” a palindrome? Similarly is “xabay” a palindrome?",