mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<p>A node is a <strong>leaf</strong> if and only if it has zero children.</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/2021/08/10/tree1.jpg" style="width: 500px; height: 169px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> arr = [6,2,4]
|
||||
@@ -20,7 +20,7 @@
|
||||
The first has a non-leaf node sum 36, and the second has non-leaf node sum 32.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/08/10/tree2.jpg" style="width: 224px; height: 145px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> arr = [4,11]
|
||||
|
Reference in New Issue
Block a user