mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,21 +5,21 @@
|
||||
<p>Two trees are <strong>duplicate</strong> if they have the <strong>same structure</strong> with the <strong>same node values</strong>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2020/08/16/e1.jpg" style="width: 450px; height: 354px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> root = [1,2,3,4,null,2,4,null,null,4]
|
||||
<strong>Output:</strong> [[2,4],[4]]
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2020/08/16/e2.jpg" style="width: 321px; height: 201px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> root = [2,1,1]
|
||||
<strong>Output:</strong> [[1]]
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2020/08/16/e33.jpg" style="width: 450px; height: 303px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> root = [2,2,2,3,null,3,null]
|
||||
@@ -30,6 +30,6 @@
|
||||
<p><strong>Constraints:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li>The number of the nodes in the tree will be in the range <code>[1, 10^4]</code></li>
|
||||
<li>The number of the nodes in the tree will be in the range <code>[1, 5000]</code></li>
|
||||
<li><code>-200 <= Node.val <= 200</code></li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user