Skip to content

Commit 3394673

Browse files
authored
chore: update lc problem: No.0298 (#1435)
1 parent 4724767 commit 3394673

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

solution/0200-0299/0298.Binary Tree Longest Consecutive Sequence/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
<pre>
1717
<strong>输入:</strong>root = [1,null,3,2,4,null,null,null,5]
1818
<strong>输出:</strong>3
19-
<strong>解释:</strong>当中,最长连续序列是 <code>3-4-5 ,所以</code>返回结果为 <code>3 。</code>
19+
<strong>解释:</strong>当中,最长连续序列是 3-4-5 ,所以返回结果为 3 。
2020
</pre>
2121

2222
<p><strong>示例 2:</strong></p>
2323
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0200-0299/0298.Binary%20Tree%20Longest%20Consecutive%20Sequence/images/consec1-2-tree.jpg" style="width: 249px; height: 400px;" />
2424
<pre>
2525
<strong>输入:</strong>root = [2,null,3,2,null,1]
2626
<strong>输出:</strong>2
27-
<strong>解释:</strong>当中,最长连续序列是 <code>2-3 。注意,不是</code> <code>3-2-1,所以</code>返回 <code>2 。</code>
27+
<strong>解释:</strong>当中,最长连续序列是 2-3 。注意,不是 3-2-1,所以返回 2 。
2828
</pre>
2929

3030
<p>&nbsp;</p>

solution/config.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
281,
1818
282,
1919
283,
20+
298,
2021
320,
2122
336,
2223
375,

0 commit comments

Comments
 (0)