update: 添加问题“48.旋转图像”的代码和题解#1565
Merged
Merged
Conversation
0048: AC.cpp (#1564) - AC,100.00%,86.17% + (en) Signed-off-by: LetMeFly666 <Tisfy@qq.com>
Tisfy
approved these changes
May 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 主要是为仓库补充 LeetCode 第 48 题“旋转图像”的题解入口与 C++ 代码实现,以完成 #1564 对新增题目的请求,并保持题目索引与自动提交信息同步。
Changes:
- 新增
Codes/0048-rotate-image.cpp,提供“先转置、再每行翻转”的原地旋转实现 - 更新
README.md中的题目列表,加入 0048 的题目与题解外链 - 更新
.commitmsg,同步本次自动生成提交的信息
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| README.md | 添加 0048 的索引项,并更新 README 编辑时间 |
| Codes/0048-rotate-image.cpp | 新增 48. Rotate Image 的 C++ 解法 |
| .commitmsg | 更新本次题目提交对应的自动提交消息 |
💡 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: #1564