mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-25 06:48:57 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给你一个 <strong>不含重复 </strong>单词的字符串数组 <code>words</code> ,请你找出并返回 <code>words</code> 中的所有 <strong>连接词</strong> 。</p>\n\n<p><strong>连接词</strong> 定义为:一个完全由给定数组中的至少两个较短单词组成的字符串。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>words = [\"cat\",\"cats\",\"catsdogcats\",\"dog\",\"dogcatsdog\",\"hippopotamuses\",\"rat\",\"ratcatdogcat\"]\n<strong>输出:</strong>[\"catsdogcats\",\"dogcatsdog\",\"ratcatdogcat\"]\n<strong>解释:</strong>\"catsdogcats\" 由 \"cats\", \"dog\" 和 \"cats\" 组成; \n \"dogcatsdog\" 由 \"dog\", \"cats\" 和 \"dog\" 组成; \n \"ratcatdogcat\" 由 \"rat\", \"cat\", \"dog\" 和 \"cat\" 组成。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>words = [\"cat\",\"dog\",\"catdog\"]\n<strong>输出:</strong>[\"catdog\"]</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= words.length <= 10<sup>4</sup></code></li>\n\t<li><code>0 <= words[i].length <= 1000</code></li>\n\t<li><code>words[i]</code> 仅由小写字母组成</li>\n\t<li><code>0 <= sum(words[i].length) <= 10<sup>5</sup></code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 246,
|
||||
"likes": 250,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Word Break II\", \"titleSlug\": \"word-break-ii\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u5355\\u8bcd\\u62c6\\u5206 II\"}]",
|
||||
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"22.4K\", \"totalSubmission\": \"45K\", \"totalAcceptedRaw\": 22383, \"totalSubmissionRaw\": 45003, \"acRate\": \"49.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"22.7K\", \"totalSubmission\": \"45.5K\", \"totalAcceptedRaw\": 22711, \"totalSubmissionRaw\": 45533, \"acRate\": \"49.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
||||
Reference in New Issue
Block a user