Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update lc problem: No.0298 #1435

Merged
merged 1 commit into from
Aug 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
<pre>
<strong>输入:</strong>root = [1,null,3,2,4,null,null,null,5]
<strong>输出:</strong>3
<strong>解释:</strong>当中,最长连续序列是 <code>3-4-5 ,所以</code>返回结果为 <code>3 。</code>
<strong>解释:</strong>当中,最长连续序列是 3-4-5 ,所以返回结果为 3 。
</pre>

<p><strong>示例 2:</strong></p>
<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;" />
<pre>
<strong>输入:</strong>root = [2,null,3,2,null,1]
<strong>输出:</strong>2
<strong>解释:</strong>当中,最长连续序列是 <code>2-3 。注意,不是</code> <code>3-2-1,所以</code>返回 <code>2 。</code>
<strong>解释:</strong>当中,最长连续序列是 2-3 。注意,不是 3-2-1,所以返回 2 。
</pre>

<p>&nbsp;</p>
Expand Down
1 change: 1 addition & 0 deletions solution/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
281,
282,
283,
298,
320,
336,
375,
Expand Down