mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-21 21:16:45 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>你的朋友正在使用键盘输入他的名字 <code>name</code>。偶尔,在键入字符 <code>c</code> 时,按键可能会被<em>长按</em>,而字符可能被输入 1 次或多次。</p>\n\n<p>你将会检查键盘输入的字符 <code>typed</code>。如果它对应的可能是你的朋友的名字(其中一些字符可能被长按),那么就返回 <code>True</code>。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>name = \"alex\", typed = \"aaleex\"\n<strong>输出:</strong>true\n<strong>解释:</strong>'alex' 中的 'a' 和 'e' 被长按。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>name = \"saeed\", typed = \"ssaaedd\"\n<strong>输出:</strong>false\n<strong>解释:</strong>'e' 一定需要被键入两次,但在 typed 的输出中不是这样。\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= name.length, typed.length <= 1000</code></li>\n\t<li><code>name</code> 和 <code>typed</code> 的字符都是小写字母</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 225,
|
||||
"likes": 228,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"53.5K\", \"totalSubmission\": \"139.2K\", \"totalAcceptedRaw\": 53506, \"totalSubmissionRaw\": 139222, \"acRate\": \"38.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"54.1K\", \"totalSubmission\": \"140.9K\", \"totalAcceptedRaw\": 54066, \"totalSubmissionRaw\": 140923, \"acRate\": \"38.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user