Skip to content

update: 添加问题“1339.分裂二叉树的最大乘积”的代码和题解 + docs(Linux只读视图文件夹)#1309

Merged
LetMeFly666 merged 12 commits intomasterfrom
1339
Jan 7, 2026
Merged

update: 添加问题“1339.分裂二叉树的最大乘积”的代码和题解 + docs(Linux只读视图文件夹)#1309
LetMeFly666 merged 12 commits intomasterfrom
1339

Conversation

@LetMeFly666
Copy link
Copy Markdown
Owner

By newSolution.py using GH on Windows | close: #1308

Copilot AI review requested due to automatic review settings January 7, 2026 14:05
@LetMeFly666 LetMeFly666 added the 题解 Solution label Jan 7, 2026
@LetMeFly666 LetMeFly666 self-assigned this Jan 7, 2026
Copy link
Copy Markdown
Owner Author

@LetMeFly666 LetMeFly666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LetMeFly666
Copy link
Copy Markdown
Owner Author

加油Copilot

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a complete solution for LeetCode problem 1339 (Maximum Product of Splitted Binary Tree), including code implementations and documentation updates. Additionally, it fixes bugs in a previous Java solution and includes various personal notes about infrastructure changes and learning materials.

  • Implements solutions for LeetCode problem 1339 in both C++ and Python
  • Fixes a Java solution for problem 1161 with corrected variable names and null checks
  • Adds documentation updates including personal notes, English vocabulary, and technical tips about certbot

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Codes/1339-maximum-product-of-splitted-binary-tree.py New Python solution implementing DFS to calculate subtree sums and find maximum product
Codes/1339-maximum-product-of-splitted-binary-tree.cpp New C++ solution implementing the same algorithm with long long type for overflow prevention
Codes/1161-maximum-level-sum-of-a-binary-tree_20260106.java Bug fixes: corrected variable name 'layerNum' to 'layerSum' and added null checks for child nodes
Codes/1161-maximum-level-sum-of-a-binary-tree_20260106-AC.java Deleted duplicate file (AC version was consolidated)
README.md Added entry for problem 1339 with links to solution pages
toSay.md New file with notes about removing Cloudflare proxy
Solutions/Other-English-LearningNotes-SomeWords.md Added vocabulary entry for "fob"
Solutions/Other-Accumulation-SomeTips.md Added comprehensive guide for using certbot to manage TLS certificates
.commitmsg Cleared previous commit message
.commitTitleExtra Cleared previous commit title extra

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Solutions/Other-Accumulation-SomeTips.md Outdated
Comment thread Codes/1339-maximum-product-of-splitted-binary-tree.py
Comment thread Codes/1339-maximum-product-of-splitted-binary-tree.py
Comment thread toSay.md Outdated
Comment thread Codes/1339-maximum-product-of-splitted-binary-tree.py
@LetMeFly666
Copy link
Copy Markdown
Owner Author

Pull request overview

This PR adds a complete solution for LeetCode problem 1339 (Maximum Product of Splitted Binary Tree), including code implementations and documentation updates. Additionally, it fixes bugs in a previous Java solution and includes various personal notes about infrastructure changes and learning materials.

  • Implements solutions for LeetCode problem 1339 in both C++ and Python
  • Fixes a Java solution for problem 1161 with corrected variable names and null checks
  • Adds documentation updates including personal notes, English vocabulary, and technical tips about certbot

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Codes/1339-maximum-product-of-splitted-binary-tree.py New Python solution implementing DFS to calculate subtree sums and find maximum product
Codes/1339-maximum-product-of-splitted-binary-tree.cpp New C++ solution implementing the same algorithm with long long type for overflow prevention
Codes/1161-maximum-level-sum-of-a-binary-tree_20260106.java Bug fixes: corrected variable name 'layerNum' to 'layerSum' and added null checks for child nodes
Codes/1161-maximum-level-sum-of-a-binary-tree_20260106-AC.java Deleted duplicate file (AC version was consolidated)
README.md Added entry for problem 1339 with links to solution pages
toSay.md New file with notes about removing Cloudflare proxy
Solutions/Other-English-LearningNotes-SomeWords.md Added vocabulary entry for "fob"
Solutions/Other-Accumulation-SomeTips.md Added comprehensive guide for using certbot to manage TLS certificates
.commitmsg Cleared previous commit message
.commitTitleExtra Cleared previous commit title extra
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, 变成你等我很久了

LetMeFly666 and others added 2 commits January 7, 2026 22:59
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@LetMeFly666 LetMeFly666 changed the title update: 添加问题“1339.分裂二叉树的最大乘积”的代码和题解 update: 添加问题“1339.分裂二叉树的最大乘积”的代码和题解 + docs(Linux只读视图文件夹) Jan 7, 2026
@LetMeFly666
Copy link
Copy Markdown
Owner Author

还以为今天已经发车了,以为docs要等明天了

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread toSay.md Outdated
Comment thread Codes/1339-maximum-product-of-splitted-binary-tree.py
Comment thread Codes/1339-maximum-product-of-splitted-binary-tree.cpp
Comment thread Solutions/Other-Accumulation-SomeTips.md Outdated
LetMeFly666 and others added 2 commits January 7, 2026 23:34
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@LetMeFly666 LetMeFly666 merged commit a022925 into master Jan 7, 2026
1 check passed
@LetMeFly666 LetMeFly666 deleted the 1339 branch January 7, 2026 15:36
@LetMeFly666
Copy link
Copy Markdown
Owner Author

Sorry — turns out you were the one waiting on me.

Pull request overview

This PR adds a complete solution for LeetCode problem 1339 (Maximum Product of Splitted Binary Tree), including code implementations and documentation updates. Additionally, it fixes bugs in a previous Java solution and includes various personal notes about infrastructure changes and learning materials.

  • Implements solutions for LeetCode problem 1339 in both C++ and Python
  • Fixes a Java solution for problem 1161 with corrected variable names and null checks
  • Adds documentation updates including personal notes, English vocabulary, and technical tips about certbot

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
File Description
Codes/1339-maximum-product-of-splitted-binary-tree.py New Python solution implementing DFS to calculate subtree sums and find maximum product
Codes/1339-maximum-product-of-splitted-binary-tree.cpp New C++ solution implementing the same algorithm with long long type for overflow prevention
Codes/1161-maximum-level-sum-of-a-binary-tree_20260106.java Bug fixes: corrected variable name 'layerNum' to 'layerSum' and added null checks for child nodes
Codes/1161-maximum-level-sum-of-a-binary-tree_20260106-AC.java Deleted duplicate file (AC version was consolidated)
README.md Added entry for problem 1339 with links to solution pages
toSay.md New file with notes about removing Cloudflare proxy
Solutions/Other-English-LearningNotes-SomeWords.md Added vocabulary entry for "fob"
Solutions/Other-Accumulation-SomeTips.md Added comprehensive guide for using certbot to manage TLS certificates
.commitmsg Cleared previous commit message
.commitTitleExtra Cleared previous commit title extra
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, 变成你等我很久了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

题解 Solution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[newSolution]Who can add 1 more problem of LeetCode 1339

2 participants