mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-12 02:41:42 +08:00
存量题库数据更新
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<pre>
|
||||
<b>输入:</b>obj = {"x": 5, "y": 42}
|
||||
<b>输出:</b>false
|
||||
<b>解释:</b>The object has 2 key-value pairs so it is not empty.
|
||||
<b>解释:</b>这个对象有两个键值对,所以它不为空。
|
||||
</pre>
|
||||
|
||||
<p><strong class="example">示例 2:</strong></p>
|
||||
@@ -22,7 +22,7 @@
|
||||
<pre>
|
||||
<b>输入:</b>obj = {}
|
||||
<b>输出:</b>true
|
||||
<b>解释:</b>The object doesn't have any key-value pairs so it is empty.
|
||||
<b>解释:</b>这个对象没有任何键值对,所以它为空。
|
||||
</pre>
|
||||
|
||||
<p><strong class="example">示例 3:</strong></p>
|
||||
@@ -30,7 +30,7 @@
|
||||
<pre>
|
||||
<b>输入:</b>obj = [null, false, 0]
|
||||
<b>输出:</b>false
|
||||
<b>解释:</b>The array has 3 elements so it is not empty.
|
||||
<b>解释:</b>这个数组有 3 个元素,所以它不为空。
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
@@ -38,7 +38,8 @@
|
||||
<p><strong>提示:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li> <code>2 <= JSON.stringify(obj).length <= 10<sup>5</sup></code></li>
|
||||
<li><code>obj</code> 是一个有效的 JSON 对象或数组</li>
|
||||
<li><code>2 <= JSON.stringify(obj).length <= 10<sup>5</sup></code></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
Reference in New Issue
Block a user