mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/03/15/addrow-tree.jpg" style="width: 500px; height: 231px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> root = [4,2,6,3,1,5], val = 1, depth = 2
|
||||
<strong>Output:</strong> [4,1,1,2,null,null,6,3,1,5]
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/03/11/add2-tree.jpg" style="width: 500px; height: 277px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> root = [4,2,null,3,1], val = 1, depth = 3
|
||||
|
Reference in New Issue
Block a user