update: 添加问题“153.寻找旋转排序数组中的最小值”的代码和题解 + update: 添加问题“154. 寻找旋转排序数组中的最小值 II”的代码和题解 + refactor: launch.json + newSolution.py: Linux support#1592
Merged
Conversation
…st time (#1589) 禁止code-server docker在第一次debug C++文件前先花费数十分钟下载一个15.5M的debug info文件 最近部署code server(vscode docker),容器重启后第一次debug cpp时会: Stopped due to shared library event (no libraries added or removed) Loaded '/lib64/ld-linux-x86-64.so.2'. Symbols loaded. Downloading 15.52 M separate debug info for /lib64/libstdc++.so.6... 用户体验很不好
merge by hand,和之前不等价的是: 1. tasks由cppbuild改为了shell 2. linux下tasks isDefault也改为了true 目前只在linux测试过 这json有些年头了哈哈
AC,100.00%,70.15%
AC,100.00%,21.06%
Signed-off-by: LetMeFly666 <Tisfy@qq.com>
Signed-off-by: LetMeFly666 <Tisfy@qq.com>
Owner
Author
|
哦吼,被背刺了,忽然想到153和154不是一个源分支 |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s LeetCode content by adding new C++ solution source files (notably for LeetCode 154) and updating the README problem index, along with several auxiliary edits (VS Code config tweaks, local test file tweaks, notes cleanup).
Changes:
- Add C++ solution files for LeetCode 0153 and 0154 (find minimum in rotated sorted array, with/without duplicates), plus additional solution files (0704, 2784).
- Update
README.mdto include new problem entries/links for 0153 and 0154. - Adjust tooling/config and misc files:
newSolution.pyplatform reporting tweak, VS Code build/debug configs, and remove.commitmsg/toSay.md.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| toSay.md | Removes the file content (appears to delete a short personal note). |
| test.cpp | Updates a local test program to use a vector<string> and print an element. |
| Solutions/Other-English-LearningNotes-SomeWords.md | Adds a new vocabulary entry (descendant). |
| README.md | Adds index entries/links for LeetCode 0153 and 0154. |
| newSolution.py | Tweaks platform detection output and a generated markdown snippet escape. |
| Codes/2784-check-if-array-is-good_O1Space.cpp | Adds a new C++ solution implementation (with _DEBUG harness). |
| Codes/0704-binary-search_20260515.cpp | Adds a new C++ solution implementation. |
| Codes/0154-find-minimum-in-rotated-sorted-array-ii.cpp | Adds the LeetCode 0154 C++ solution implementation. |
| Codes/0153-find-minimum-in-rotated-sorted-array.cpp | Adds the LeetCode 0153 C++ solution implementation. |
| .vscode/tasks.json | Consolidates into a cross-platform C/C++ build task. |
| .vscode/launch.json | Refactors debug configurations to use the new build task and be cross-platform. |
| .commitmsg | Removes the tracked .commitmsg file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Tisfy
approved these changes
May 16, 2026
Owner
Author
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 linux