mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
<p>Return the number of <strong>good</strong> nodes in the binary tree.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> </p>
|
||||
@@ -16,7 +16,7 @@ Node 4 -> (3,4) is the maximum value in the path starting from the root.
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
<pre>
|
||||
|
||||
<strong>Input:</strong> root = [3,1,4,3,null,1,5]
|
||||
|
||||
@@ -25,7 +25,7 @@ Node 3 -> (3,1,3) is the maximum value in the path.</pre>
|
||||
<strong>Explanation:</strong> Nodes in blue are <strong>good</strong>.
|
||||
|
||||
Root Node (3) is always a good node.
|
||||
|
||||
|
||||
Node 4 -> (3,4) is the maximum value in the path starting from the root.
|
||||
|
||||
Node 5 -> (3,4,5) is the maximum value in the path
|
||||
|
Reference in New Issue
Block a user