Skip to content

feat: add solutions to lc problem: No.3614#5246

Merged
yanglbme merged 2 commits into
mainfrom
dev
Jun 8, 2026
Merged

feat: add solutions to lc problem: No.3614#5246
yanglbme merged 2 commits into
mainfrom
dev

Conversation

@yanglbme

@yanglbme yanglbme commented Jun 8, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 8, 2026 06:35
@idoocs idoocs added core team Issues or pull requests from core team cpp Issues or Pull requests relate to .cpp code go Issues or Pull requests relate to .go code java Issues or Pull requests relate to .java code json Issues or Pull requests relate to .json files md Issues or Pull requests relate to .md files py Issues or Pull requests relate to .py code ts Issues or Pull requests relate to .ts code labels Jun 8, 2026
@yanglbme yanglbme merged commit 105153b into main Jun 8, 2026
8 of 16 checks passed
@yanglbme yanglbme deleted the dev branch June 8, 2026 06:36

Copilot AI left a comment

Copy link
Copy Markdown

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 adds multi-language solutions and explanation for LeetCode 3614 (“Process String with Special Operations II”), and also performs broader documentation/index maintenance across several existing problems.

Changes:

  • Added solution implementations for LC 3614 in Python/Java/C++/Go/TypeScript, plus expanded CN/EN solution write-ups.
  • Updated solution/README.md and solution/README_EN.md entries for problems 3940–3948 (row numbering + tags).
  • Added front-matter tags to multiple problem READMEs; minor README formatting/cleanup (including removal of hidden injected HTML in 3951 EN statement).

Reviewed changes

Copilot reviewed 29 out of 30 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
solution/README.md Updates table rows for 3940–3948 with indices and tags.
solution/README_EN.md Updates table rows for 3940–3948 with indices and tags (EN).
solution/3900-3999/3955.Valid Binary Strings With Cost Limit/README.md Minor markdown formatting cleanup around a math block.
solution/3900-3999/3951.Minimum Energy to Maintain Brightness/README_EN.md Removes hidden injected HTML and fixes punctuation in an example line.
solution/3900-3999/3948.Lexicographically Maximum MEX Array/README.md Adds front-matter tags.
solution/3900-3999/3948.Lexicographically Maximum MEX Array/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3947.Maximum Number of Items From Sale II/README.md Adds front-matter tags.
solution/3900-3999/3947.Maximum Number of Items From Sale II/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3946.Maximum Number of Items From Sale I/README.md Adds front-matter tags.
solution/3900-3999/3946.Maximum Number of Items From Sale I/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3945.Digit Frequency Score/README.md Adds front-matter tags.
solution/3900-3999/3945.Digit Frequency Score/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3944.Minimum Operations to Make Array Modulo Alternating II/README.md Adds front-matter tags.
solution/3900-3999/3944.Minimum Operations to Make Array Modulo Alternating II/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3943.Number of Pairs After Increment/README.md Adds front-matter tags.
solution/3900-3999/3943.Number of Pairs After Increment/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3942.Minimum Operations to Sort a Permutation/README.md Adds front-matter tags.
solution/3900-3999/3942.Minimum Operations to Sort a Permutation/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3941.Password Strength/README.md Adds front-matter tags.
solution/3900-3999/3941.Password Strength/README_EN.md Adds front-matter tags (EN).
solution/3900-3999/3940.Limit Occurrences in Sorted Array/README.md Adds front-matter tags.
solution/3900-3999/3940.Limit Occurrences in Sorted Array/README_EN.md Adds front-matter tags (EN).
solution/3600-3699/3614.Process String with Special Operations II/Solution.ts Adds TypeScript solution for LC 3614.
solution/3600-3699/3614.Process String with Special Operations II/Solution.py Adds Python solution for LC 3614.
solution/3600-3699/3614.Process String with Special Operations II/Solution.java Adds Java solution for LC 3614.
solution/3600-3699/3614.Process String with Special Operations II/Solution.go Adds Go solution for LC 3614.
solution/3600-3699/3614.Process String with Special Operations II/Solution.cpp Adds C++ solution for LC 3614.
solution/3600-3699/3614.Process String with Special Operations II/README.md Expands CN explanation and includes multi-language code listings.
solution/3600-3699/3614.Process String with Special Operations II/README_EN.md Expands EN explanation and includes multi-language code listings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread solution/README.md
Comment on lines +3953 to +3961
| 3940 | [限制有序数组中的元素出现次数](/solution/3900-3999/3940.Limit%20Occurrences%20in%20Sorted%20Array/README.md) | `数组`,`双指针` | 简单 | 第 503 场周赛 |
| 3941 | [密码强度](/solution/3900-3999/3941.Password%20Strength/README.md) | `哈希表`,`字符串` | 中等 | 第 503 场周赛 |
| 3942 | [排序排列的最少操作数](/solution/3900-3999/3942.Minimum%20Operations%20to%20Sort%20a%20Permutation/README.md) | `数组` | 中等 | 第 503 场周赛 |
| 3943 | [递增后的数对数量](/solution/3900-3999/3943.Number%20of%20Pairs%20After%20Increment/README.md) | `数组`,`哈希表`,`分治`,`计数` | 困难 | 第 503 场周赛 |
| 3944 | [使数组变为模交替数组的最少操作次数 II](/solution/3900-3999/3944.Minimum%20Operations%20to%20Make%20Array%20Modulo%20Alternating%20II/README.md) | `数组`,`枚举` | 困难 | 🔒 |
| 3945 | [计算数字频率得分](/solution/3900-3999/3945.Digit%20Frequency%20Score/README.md) | `哈希表`,`数学` | 简单 | 第 504 场周赛 |
| 3946 | [购买最多物品数目 I](/solution/3900-3999/3946.Maximum%20Number%20of%20Items%20From%20Sale%20I/README.md) | `贪心`,`数组`,`动态规划` | 中等 | 第 504 场周赛 |
| 3947 | [购买最多物品数目 II](/solution/3900-3999/3947.Maximum%20Number%20of%20Items%20From%20Sale%20II/README.md) | `贪心`,`数组`,`排序`,`堆(优先队列)` | 中等 | 第 504 场周赛 |
| 3948 | [字典序最大的 MEX 数组](/solution/3900-3999/3948.Lexicographically%20Maximum%20MEX%20Array/README.md) | `贪心`,`队列`,`数组`,`哈希表` | 困难 | 第 504 场周赛 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core team Issues or pull requests from core team cpp Issues or Pull requests relate to .cpp code go Issues or Pull requests relate to .go code java Issues or Pull requests relate to .java code json Issues or Pull requests relate to .json files md Issues or Pull requests relate to .md files py Issues or Pull requests relate to .py code ts Issues or Pull requests relate to .ts code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants