mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-02 22:13:28 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定字符串列表 <code>strs</code> ,返回 <em>它们中 <strong>最长的特殊序列</strong></em> 。如果最长特殊序列不存在,返回 <code>-1</code> 。</p>\n\n<p><strong>最长特殊序列</strong> 定义如下:该序列为某字符串 <strong>独有的最长子序列(即不能是其他字符串的子序列)</strong>。</p>\n\n<p> <code>s</code> 的 <strong>子序列</strong>可以通过删去字符串 <code>s</code> 中的某些字符实现。</p>\n\n<ul>\n\t<li>例如,<code>\"abc\"</code> 是 <code>\"aebdc\"</code> 的子序列,因为您可以删除<code>\"a<u>e</u>b<u>d</u>c\"</code>中的下划线字符来得到 <code>\"abc\"</code> 。<code>\"aebdc\"</code>的子序列还包括<code>\"aebdc\"</code>、 <code>\"aeb\"</code> 和 <font color=\"#c7254e\" face=\"Menlo, Monaco, Consolas, Courier New, monospace\"><span style=\"font-size: 12.6px; background-color: rgb(249, 242, 244);\">\"\"</span></font> (空字符串)。</li>\n</ul>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong> strs = [\"aba\",\"cdc\",\"eae\"]\n<strong>输出:</strong> 3\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong> strs = [\"aaa\",\"aaa\",\"aa\"]\n<strong>输出:</strong> -1\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>2 <= strs.length <= 50</code></li>\n\t<li><code>1 <= strs[i].length <= 10</code></li>\n\t<li><code>strs[i]</code> 只包含小写英文字母</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 91,
|
||||
"likes": 93,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Longest Uncommon Subsequence I\", \"titleSlug\": \"longest-uncommon-subsequence-i\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u6700\\u957f\\u7279\\u6b8a\\u5e8f\\u5217 \\u2160\"}]",
|
||||
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.6K\", \"totalSubmission\": \"23.6K\", \"totalAcceptedRaw\": 8639, \"totalSubmissionRaw\": 23567, \"acRate\": \"36.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"9.2K\", \"totalSubmission\": \"24.6K\", \"totalAcceptedRaw\": 9153, \"totalSubmissionRaw\": 24605, \"acRate\": \"37.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user