mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 05:26:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定 <code>s</code> 和 <code>t</code> 两个字符串,当它们分别被输入到空白的文本编辑器后,如果两者相等,返回 <code>true</code> 。<code>#</code> 代表退格字符。</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 = \"ab#c\", t = \"ad#c\"\n<strong>输出:</strong>true\n<strong>解释:</strong>s 和 t 都会变成 \"ac\"。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"ab##\", t = \"c#d#\"\n<strong>输出:</strong>true\n<strong>解释:</strong>s 和 t 都会变成 \"\"。\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"a#c\", t = \"b\"\n<strong>输出:</strong>false\n<strong>解释:</strong>s 会变成 \"c\",但 t 仍然是 \"b\"。</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= s.length, t.length <= 200</code></li>\n\t<li><code>s</code> 和 <code>t</code> 只含有小写字母以及字符 <code>'#'</code></li>\n</ul>\n\n<p> </p>\n\n<p><strong>进阶:</strong></p>\n\n<ul>\n\t<li>你可以用 <code>O(n)</code> 的时间复杂度和 <code>O(1)</code> 的空间复杂度解决该问题吗?</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 397,
|
||||
"likes": 398,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"122.1K\", \"totalSubmission\": \"244.7K\", \"totalAcceptedRaw\": 122064, \"totalSubmissionRaw\": 244731, \"acRate\": \"49.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"122.6K\", \"totalSubmission\": \"245.8K\", \"totalAcceptedRaw\": 122553, \"totalSubmissionRaw\": 245762, \"acRate\": \"49.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user