update: 添加问题“1877.数组中最大数对和的最小值”的代码和题解#1345
Merged
LetMeFly666 merged 1 commit intomasterfrom Jan 24, 2026
Merged
Conversation
Signed-off-by: LetMeFly666 <814114971@qq.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a complete solution for LeetCode problem 1877 "数组中最大数对和的最小值" (Minimize Maximum Pair Sum in Array) with implementations in five programming languages (C++, Java, Python, Go, and Rust), along with corresponding documentation updates.
Changes:
- Added solution implementations in C++, Java, Python, Go, and Rust for LeetCode problem 1877
- Updated README.md with entry for the new problem including links to solution writeups
- Updated English vocabulary notes with new words
- Cleaned up temporary test and commit message files
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Codes/1877-minimize-maximum-pair-sum-in-array_20260124.cpp | C++ implementation using greedy algorithm with sorting |
| Codes/1877-minimize-maximum-pair-sum-in-array_20260124.java | Java implementation using greedy algorithm with sorting |
| Codes/1877-minimize-maximum-pair-sum-in-array_20260124.py | Python implementation with concise one-liner using negative indexing |
| Codes/1877-minimize-maximum-pair-sum-in-array_20260124.go | Go implementation with named return value |
| Codes/1877-minimize-maximum-pair-sum-in-array_20260124.rs | Rust implementation following language conventions |
| Codes/lib.rs | Updated include statement to reference new Rust solution |
| README.md | Added table entry with links to problem and solutions |
| Solutions/Other-English-LearningNotes-SomeWords.md | Added new vocabulary entries (superstitious, Occident) |
| test.cpp | Removed temporary test file |
| .commitmsg | Cleared commit message file |
| Codes/3510-minimum-pair-removal-to-sort-array-ii_RE.cpp | Added clarifying comment about non-acceptance |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
LetMeFly666
commented
Jan 24, 2026
Owner
Author
LetMeFly666
left a comment
There was a problem hiding this comment.
github new preview style
https://github.blog/changelog/2026-01-22-improved-pull-request-files-changed-page-on-by-default/
LetMeFly666
commented
Jan 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By newSolution.py using GH on MacOS | close: #1344