-
Notifications
You must be signed in to change notification settings - Fork 3
添加问题“3136.有效单词”的代码和题解 #1029
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
添加问题“3136.有效单词”的代码和题解 #1029
Conversation
cpp - AC,100.00%,89.16%
"AhI" "IMG"
py - AC,27.85%,25.32%
Line 17: error: for-each not applicable to expression type
for (char c : word) {
^
required: array or java.lang.Iterable
found: String
AC,93.10%,84.48%
AC,100.00%,30.77%
Mac上还是未处理那个commit 今日mac此仓库进度为0 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
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 a new solution write-up and code implementations for LeetCode problem 3136 (“有效单词”), updates the Japanese learning notes with several vocabulary entries, and integrates the new problem into the project README.
- Added a detailed markdown article and multi-language code for problem 3136.
- Updated README table to include the new problem entry.
- Enhanced Japanese notes with “パスタ”, “脂っこい”, “ロブスター”, and repositioned “そと”, and removed unintended files.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| Solutions/Other-Japanese-LearningNotes.md | Inserted new vocabulary rows; fixed table ordering. |
| Solutions/LeetCode 3136.有效单词.md | New problem statement, examples, analysis, and code. |
| README.md | Added entry for 3136 to the problems index table. |
| Codes/3136-valid-word.py | Python implementation for isValid. |
| Codes/3136-valid-word.cpp | C++ implementation for isValid. |
| Codes/3136-valid-word.java | Java implementation for isValid. |
| Codes/3136-valid-word.go | Go implementation for isValid. |
| .gitlog | Local git debug log accidentally committed. |
| .commitmsg | Non-functional commit message file included. |
Comments suppressed due to low confidence (4)
Codes/3136-valid-word.go:9
- [nitpick] Function name
isYuan3136mixes problem ID with Pinyin; consider renaming toisVowelorisEnglishVowelfor consistency and clarity.
func isYuan3136(c byte) bool {
Solutions/Other-Japanese-LearningNotes.md:400
- There’s a stray empty table row (
|||) here; remove or fill in missing cells to keep the markdown table well-formed.
|||
.gitlog:1
- This local git command log shouldn’t be committed to the repository. Consider removing
.gitlogfrom version control.
PS F:\OtherApps\Program\Git\Store\Store20_LeetCode> git branch -d dev
.commitmsg:1
- This standalone commit message file appears to be stray; remove it or integrate meaningful messages into actual git commits.
Mac上还是未处理那个commit
By newSolution.py using GH on Windows | close: #1028