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>给定一个字符串 s 表示一个整数嵌套列表,实现一个解析它的语法分析器并返回解析的结果 <code>NestedInteger</code> 。</p>\n\n<p>列表中的每个元素只可能是整数或整数嵌套列表</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"324\",\n<strong>输出:</strong>324\n<strong>解释:</strong>你应该返回一个 NestedInteger 对象,其中只包含整数值 324。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>s = \"[123,[456,[789]]]\",\n<strong>输出:</strong>[123,[456,[789]]]\n<strong>解释:</strong>返回一个 NestedInteger 对象包含一个有两个元素的嵌套列表:\n1. 一个 integer 包含值 123\n2. 一个包含两个元素的嵌套列表:\n i. 一个 integer 包含值 456\n ii. 一个包含一个元素的嵌套列表\n a. 一个 integer 包含值 789\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= s.length <= 5 * 10<sup>4</sup></code></li>\n\t<li><code>s</code> 由数字、方括号 <code>\"[]\"</code>、负号 <code>'-'</code> 、逗号 <code>','</code>组成</li>\n\t<li>用例保证 <code>s</code> 是可解析的 <code>NestedInteger</code></li>\n\t<li>输入中的所有值的范围是 <code>[-10<sup>6</sup>, 10<sup>6</sup>]</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 84,
|
||||
"likes": 177,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Flatten Nested List Iterator\", \"titleSlug\": \"flatten-nested-list-iterator\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u6241\\u5e73\\u5316\\u5d4c\\u5957\\u5217\\u8868\\u8fed\\u4ee3\\u5668\"}, {\"title\": \"Ternary Expression Parser\", \"titleSlug\": \"ternary-expression-parser\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u4e09\\u5143\\u8868\\u8fbe\\u5f0f\\u89e3\\u6790\\u5668\"}, {\"title\": \"Remove Comments\", \"titleSlug\": \"remove-comments\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u5220\\u9664\\u6ce8\\u91ca\"}]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"20K\", \"totalAcceptedRaw\": 8455, \"totalSubmissionRaw\": 20038, \"acRate\": \"42.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"27.9K\", \"totalSubmission\": \"50.7K\", \"totalAcceptedRaw\": 27928, \"totalSubmissionRaw\": 50743, \"acRate\": \"55.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user