-
Notifications
You must be signed in to change notification settings - Fork 3
添加问题“3337.字符串转换后的长度II”的代码和题解 #936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: LetMeFly666 <814114971@qq.com>
还是先全提交到这个分支上吧,这道题还是尽量做完然后合并到master上比较好 Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
(#935) F**k 调了好久 Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
直接打一遍过喽 Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
Signed-off-by: LetMeFly666 <814114971@qq.com>
LetMeFly666
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Copilot's avatar image |
|
这是一道在3台电脑上接力过的题目 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds the solution code, documentation, and test scaffolding for LeetCode problem 3337 (“字符串转换后的长度II”).
- Introduces multi-language implementations (C++, Python, Java, Go) and a C++ test file.
- Updates README with the new problem entry and tags.
- Cleans up outdated logs and adds local markdown updates.
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| toSay.md | Appended latest commit note and face‐scan failure log |
| checkoutList.txt | Added local git command history (likely unintentional) |
| Solutions/Other-English-LearningNotes-SomeWords.md | Added new vocabulary entries |
| Solutions/LeetCode 3335.字符串转换后的长度I.md | Clarified wording and added complexity analysis |
| README.md | Inserted problem 3337 entry into the problem list |
| Codes/3337-total-characters-in-string-after-transformations-ii.test.cpp | Added test scaffold (missing include) |
| Codes/3337-total-characters-in-string-after-transformations-ii.py | Added Python solution |
| Codes/3337-total-characters-in-string-after-transformations-ii.java | Added Java solution |
| Codes/3337-total-characters-in-string-after-transformations-ii.go | Added Go solution |
| Codes/3337-total-characters-in-string-after-transformations-ii.cpp | Added C++ solution |
| .gitlog | Removed outdated commit log file |
Comments suppressed due to low confidence (5)
Codes/3337-total-characters-in-string-after-transformations-ii.py:20
- [nitpick] This method name shadows the built-in pow function. Consider renaming to something like matrix_power() to avoid confusion.
def pow(self, a: List[List[int]], b: int) -> List[List[int]]:
Codes/3337-total-characters-in-string-after-transformations-ii.py:1
- There are no unit tests for the Python implementation; adding a test suite will help catch regressions and ensure consistent behavior across languages.
'''
checkoutList.txt:1
- This file contains local command history and doesn’t appear relevant to the project; consider removing it or adding it to .gitignore.
LeetCode git:(master) git ls-remote --heads origin
toSay.md:3
- [nitpick] This log entry may not belong in project documentation and could be better placed in a changelog; please clarify its purpose or remove it.
好多位数字开头的commit_hash: https://github.com/LetMeFly666/LeetCode/commit/9057177528b579fa50e94e1f2316ad2b873f7db9
Codes/3337-total-characters-in-string-after-transformations-ii.test.cpp:9
- The include for the solution file is commented out, causing undefined references to Solution; uncomment or correct the include so the test can link against the implementation.
// #include "3337-total-characters-in-string-after-transformations-ii.cpp
By newSolution.py using GH on MacOS | close: #935