mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给你一个字符串 <code>s</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>s = \"Hello World\"\n<strong>输出:</strong>5\n<strong>解释:</strong>最后一个单词是“World”,长度为5。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \" fly me to the moon \"\n<strong>输出:</strong>4<strong>\n解释:</strong>最后一个单词是“moon”,长度为4。\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"luffy is still joyboy\"\n<strong>输出:</strong>6\n<strong>解释:</strong>最后一个单词是长度为6的“joyboy”。\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= s.length <= 10<sup>4</sup></code></li>\n\t<li><code>s</code> 仅有英文字母和空格 <code>' '</code> 组成</li>\n\t<li><code>s</code> 中至少存在一个单词</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 442,
|
||||
"likes": 443,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"302K\", \"totalSubmission\": \"762.7K\", \"totalAcceptedRaw\": 302045, \"totalSubmissionRaw\": 762659, \"acRate\": \"39.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"302.8K\", \"totalSubmission\": \"764.1K\", \"totalAcceptedRaw\": 302801, \"totalSubmissionRaw\": 764113, \"acRate\": \"39.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user