1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-02 22:13:28 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>给定一组<strong> 互不相同</strong> 的单词, 找出所有<strong> 不同<em> </em></strong>的索引对 <code>(i, j)</code>,使得列表中的两个单词, <code>words[i] + words[j]</code> ,可拼接成回文串。</p>\n\n<p> </p>\n\n<p><strong>示例 1</strong></p>\n\n<pre>\n<strong>输入:</strong>words = [\"abcd\",\"dcba\",\"lls\",\"s\",\"sssll\"]\n<strong>输出:</strong>[[0,1],[1,0],[3,2],[2,4]] \n<strong>解释:</strong>可拼接成的回文串为 <code>[\"dcbaabcd\",\"abcddcba\",\"slls\",\"llssssll\"]</code>\n</pre>\n\n<p><strong>示例 2</strong></p>\n\n<pre>\n<strong>输入:</strong>words = [\"bat\",\"tab\",\"cat\"]\n<strong>输出:</strong>[[0,1],[1,0]] \n<strong>解释:</strong>可拼接成的回文串为 <code>[\"battab\",\"tabbat\"]</code></pre>\n\n<p><strong>示例 3</strong></p>\n\n<pre>\n<strong>输入:</strong>words = [\"a\",\"\"]\n<strong>输出:</strong>[[0,1],[1,0]]\n</pre>\n \n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= words.length <= 5000</code></li>\n\t<li><code>0 <= words[i].length <= 300</code></li>\n\t<li><code>words[i]</code> 由小写英文字母组成</li>\n</ul>\n",
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 298,
"likes": 303,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Longest Palindromic Substring\", \"titleSlug\": \"longest-palindromic-substring\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u6700\\u957f\\u56de\\u6587\\u5b50\\u4e32\"}, {\"title\": \"Shortest Palindrome\", \"titleSlug\": \"shortest-palindrome\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u6700\\u77ed\\u56de\\u6587\\u4e32\"}]",
@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"23.8K\", \"totalSubmission\": \"60.1K\", \"totalAcceptedRaw\": 23768, \"totalSubmissionRaw\": 60065, \"acRate\": \"39.6%\"}",
"stats": "{\"totalAccepted\": \"24K\", \"totalSubmission\": \"61K\", \"totalAcceptedRaw\": 24049, \"totalSubmissionRaw\": 60950, \"acRate\": \"39.5%\"}",
"hints": [],
"solution": null,
"status": null,