update: 添加问题“3507.移除最小数对使数组有序I”的代码和题解#1341
Merged
LetMeFly666 merged 1 commit intomasterfrom Jan 22, 2026
Merged
Conversation
3507: AC.cpp+rust (#1240) cpp - AC,7.84%,7.84% rust - AC,100.00%,100.00% --- yesterday: AC,100.00%,41.24% 今天竟然没有官解 Signed-off-by: LetMeFly666 <Tisfy@qq.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds the solution and documentation for LeetCode problem 3507 "移除最小数对使数组有序I" (Minimum Pair Removal to Sort Array I). The PR includes implementations in both C++ and Rust, updates the main README with problem references, adds English vocabulary entries, and cleans up skeleton files from a previous problem.
Changes:
- Added C++ and Rust solutions for LeetCode problem 3507
- Updated README.md with problem entry and solution links
- Added English vocabulary words (incorporated, ration) to learning notes
- Removed skeleton files for problem 3315
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Added new table entry for problem 3507 with links to problem, solution, CSDN, and LeetCode |
| Solutions/Other-English-LearningNotes-SomeWords.md | Added two new English vocabulary words with definitions |
| Codes/lib.rs | Updated include statement to reference the new problem 3507 solution file |
| Codes/3507-minimum-pair-removal-to-sort-array-i.rs | New Rust implementation of the solution algorithm |
| Codes/3507-minimum-pair-removal-to-sort-array-i.cpp | New C++ implementation with debug utilities and test case comments |
| Codes/3315-construct-the-minimum-bitwise-array-ii.* | Removed skeleton files for problem 3315 (rs, py, java, go) |
| .commitmsg | Added commit message with performance statistics |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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 Windows | close: #1340