Skip to content

update: 添加问题“153.寻找旋转排序数组中的最小值”的代码和题解 + update: 添加问题“154. 寻找旋转排序数组中的最小值 II”的代码和题解 + refactor: launch.json + newSolution.py: Linux support#1592

Merged
LetMeFly666 merged 17 commits into
masterfrom
154
May 16, 2026

Conversation

@LetMeFly666
Copy link
Copy Markdown
Owner

@LetMeFly666 LetMeFly666 commented May 16, 2026

…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有些年头了哈哈
Copilot AI review requested due to automatic review settings May 16, 2026 12:52
@LetMeFly666 LetMeFly666 requested a review from Tisfy as a code owner May 16, 2026 12:52
@LetMeFly666 LetMeFly666 added the 题解 Solution label May 16, 2026
@LetMeFly666 LetMeFly666 self-assigned this May 16, 2026
@LetMeFly666 LetMeFly666 added the under merge pr准备就绪 请做merge前最后的检查 label May 16, 2026
@LetMeFly666
Copy link
Copy Markdown
Owner Author

哦吼,被背刺了,忽然想到153和154不是一个源分支

@LetMeFly666 LetMeFly666 changed the title update: 添加问题“154.寻找旋转排序数组中的最小值II”的代码和题解 update: 添加问题“153.寻找旋转排序数组中的最小值”的代码和题解 + update: 添加问题“154. 寻找旋转排序数组中的最小值 II”的代码和题解 + refactor: launch.json + newSolution.py: Linux support May 16, 2026
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 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.md to include new problem entries/links for 0153 and 0154.
  • Adjust tooling/config and misc files: newSolution.py platform 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.

Comment thread newSolution.py
Comment thread README.md
@LetMeFly666
Copy link
Copy Markdown
Owner Author

todo: #1589
cc @Tisfy

Copy link
Copy Markdown
Collaborator

@Tisfy Tisfy left a comment

Choose a reason for hiding this comment

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

Get

Copy link
Copy Markdown
Collaborator

@Tisfy Tisfy left a comment

Choose a reason for hiding this comment

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

Image

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 14 out of 15 changed files in this pull request and generated 2 comments.

Comment thread newSolution.py
Comment thread Codes/0704-binary-search_20260515.cpp
@LetMeFly666 LetMeFly666 removed the under merge pr准备就绪 请做merge前最后的检查 label May 16, 2026
@LetMeFly666 LetMeFly666 merged commit 61b8088 into master May 16, 2026
5 checks passed
@LetMeFly666 LetMeFly666 deleted the 154 branch May 16, 2026 14:13
@LetMeFly666 LetMeFly666 added the Article 文章 label May 16, 2026
github-actions Bot pushed a commit that referenced this pull request May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Article 文章 题解 Solution

Projects

None yet

3 participants