update: 添加问题“3346.执行操作后元素的最高频率I”的代码和题解#1188
Conversation
cpp 环境没配好 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>
cpp - AC,76.60%,38.28% py - AC,89.80%,80.81% go - AC,85.42%,48.84% java - AC,81.31%,4.99%
Signed-off-by: LetMeFly666 <814114971@qq.com>
|
|
@LetMeFly666 I've opened a new pull request, #1189, to work on those changes. Once the pull request is ready, I'll request review from you. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds a solution for LeetCode problem 3346 along with environment setup scripts and various learning notes updates. The changes include multiple language implementations of the LeetCode solution, JingDong and Huawei coding test solutions, and updates to Japanese/English learning notes.
- Adds LeetCode 3346 solution implementations in C++, Python, Java, Go, and Rust
- Includes JingDong 2025 summer coding test solutions with multiple versions
- Adds Huawei 2025 Autumn coding test solutions
- Updates Japanese and English learning notes with new vocabulary
- Adds shell script for Oh My Zsh setup
- Updates VS Code configuration for macOS debugging
Reviewed Changes
Copilot reviewed 37 out of 37 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| Codes/3346-maximum-frequency-of-an-element-after-performing-operations-i.* | LeetCode 3346 solution in 5 languages (C++, Python, Java, Go, Rust) |
| Codes/jingdong-2025summer-*.cpp | Multiple versions of JingDong contest solutions with status markers |
| Codes/huawei2025Autumn-*.py | Huawei contest solutions with AC/WA status |
| Codes/lib.rs | Updated Rust library file reference |
| Codes/3461-check-if-digits-are-equal-in-string-after-operations-i.go | Formatting fix in Go code |
| Solutions/Other-Japanese-LearningNotes.md | Added Japanese vocabulary entries |
| Solutions/Other-English-LearningNotes-SomeWords.md | Added English vocabulary entries |
| README.md | Added LeetCode 3346 problem entry with links |
| .vscode/launch.json, .vscode/tasks.json | Updated macOS debugging configuration |
| setup-zsh.sh | Added Oh My Zsh installation script |
| testForEnviroment.cpp | Added environment testing utility |
| toSay.md | Updated content with comment header |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codes/3346-maximum-frequency-of-an-element-after-performing-operations-i.cpp
Show resolved
Hide resolved
Codes/3346-maximum-frequency-of-an-element-after-performing-operations-i.rs
Show resolved
Hide resolved
Codes/3346-maximum-frequency-of-an-element-after-performing-operations-i.py
Show resolved
Hide resolved
|
@LetMeFly666 I've opened a new pull request, #1190, to work on those changes. Once the pull request is ready, I'll request review from you. |
* Initial plan * Fix review comments: remove duplicate, fix comparison, fix spelling Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com> * Revert C++ signed/unsigned comparison fix as requested Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
By newSolution.py using GH on Windows | close: #1179