# {}专项练习 [English Version](/solution/{}_README_EN.md) ## 题解 列表所有题解均由 [开源社区 Doocs](https://github.com/doocs) 贡献者提供,正在完善中,欢迎贡献你的题解! 快速搜索题号、题解、标签等,请善用 Control + F(或者 Command + F)。 {} ## 版权 本项目著作权归 [GitHub 开源社区 Doocs](https://github.com/doocs) 所有,商业转载请联系 @yanglbme 获得授权,非商业转载请注明出处。 ## 联系我们 欢迎各位小伙伴们添加 @yanglbme 的个人微信(微信号:YLB0109),备注 「**leetcode**」。后续我们会创建算法、技术相关的交流群,大家一起交流学习,分享经验,共同进步。 | | | ------------------------------------------------------------------------------------------------------------------------------ | ## 许可证 知识共享 版权归属-相同方式共享 4.0 国际 公共许可证 --- # {} Practice [中文文档](/solution/{}_README.md) ## Solutions Press Control + F(or Command + F on the Mac) to search anything you want. {} ## Copyright The copyright of this project belongs to [Doocs](https://github.com/doocs) community. For commercial reprints, please contact [@yanglbme](mailto:contact@yanglibin.info) for authorization. For non-commercial reprints, please indicate the source. ## Contact Us We welcome everyone to add @yanglbme's personal WeChat (WeChat ID: YLB0109), with the note "leetcode". In the future, we will create algorithm and technology related discussion groups, where we can learn and share experiences together, and make progress together. | | | --------------------------------------------------------------------------------------------------------------------------------- | ## License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. --- # LeetCode [English Version](/solution/README_EN.md) ## 题解 列表所有题解均由 [开源社区 Doocs](https://github.com/doocs) 贡献者提供,正在完善中,欢迎贡献你的题解! 快速搜索题号、题解、标签等,请善用 Control + F(或者 Command + F)。 {} ## 版权 本项目著作权归 [GitHub 开源社区 Doocs](https://github.com/doocs) 所有,商业转载请联系 @yanglbme 获得授权,非商业转载请注明出处。 ## 联系我们 欢迎各位小伙伴们添加 @yanglbme 的个人微信(微信号:YLB0109),备注 「**leetcode**」。后续我们会创建算法、技术相关的交流群,大家一起交流学习,分享经验,共同进步。 | | | ------------------------------------------------------------------------------------------------------------------------------ | --- # LeetCode [中文文档](/solution/README.md) ## Solutions Press Control + F(or Command + F on the Mac) to search anything you want. {} ## Copyright The copyright of this project belongs to [Doocs](https://github.com/doocs) community. For commercial reprints, please contact [@yanglbme](mailto:contact@yanglibin.info) for authorization. For non-commercial reprints, please indicate the source. ## Contact Us We welcome everyone to add @yanglbme's personal WeChat (WeChat ID: YLB0109), with the note "leetcode". In the future, we will create algorithm and technology related discussion groups, where we can learn and share experiences together, and make progress together. | | | --------------------------------------------------------------------------------------------------------------------------------- | ## License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. --- {} # 力扣竞赛 [English Version](/solution/CONTEST_README_EN.md) ## 段位与荣誉勋章 竞赛排名根据竞赛积分(周赛和双周赛)进行计算,注册新用户的基础分值为 1500 分,在竞赛积分 ≥1600 的用户中,根据比例 5%, 20%, 75% 设定三档段位,段位每周比赛结束后计算一次。 如果竞赛积分处于段位的临界值,在每周比赛结束重新计算后会出现段位升级或降级的情况。段位升级或降级后会自动替换对应的荣誉勋章。 | 段位 | 比例 | 段位名 | 国服分数线 | 勋章 | | ---- | ---- | -------- | ----------- | ----------------------------------------------------------------------------------------------------------------------- | | LV3 | 5% | Guardian | ≥2278.34 |

| | LV2 | 20% | Knight | ≥1889.36 |

| | LV1 | 75% | - | - | - | 力扣竞赛 **全国排名前 10** 的用户,全站用户名展示为品牌橙色。 ## 赛后估分网站 如果你想在比赛结束后估算自己的积分变化,可以访问网站 [LeetCode Contest Rating Predictor](https://lccn.lbao.site/)。 ## 往期竞赛 {} --- {} # LeetCode Contest [中文文档](/solution/CONTEST_README.md) ## Contest Rating & Badge The contest badge is calculated based on the contest rating. For LeetCoders with rating >=1600, If you are in the top 5% of the contest rating, you’ll get the “Guardian” badge. If you are in the top 25% of the contest rating, you’ll get the “Knight” badge. | Level | Proportion | Badge | Rating | | | ----- | ---------- | -------- | ----------- | ----------------------------------------------------------------------------------------------------------------------- | | LV3 | 5\% | Guardian | ≥2228.90 |

| | LV2 | 20\% | Knight | ≥1842.73 |

| | LV1 | 75\% | - | - | - | For top 10 users (excluding LCCN users), your LeetCode ID will be colored orange on the ranking board. You'll also have the honor with you when you post/comment under discuss. ## Rating Predictor If you want to estimate your score changes after the contest ends, you can visit the website [LeetCode Contest Rating Predictor](https://lccn.lbao.site/). ## Past Contests {} --- {} # [{}. {}]({}) [English Version]({}) ## 题目描述 {} ## 解法 ### 方法一 #### Shell ```bash ``` --- {} # [{}. {}]({}) [中文文档]({}) ## Description {} ## Solutions ### Solution 1 #### Shell ```bash ``` --- {} # [{}. {}]({}) [English Version]({}) ## 题目描述 {} ## 解法 ### 方法一 #### Python3 ```python ``` #### Java ```java ``` #### C++ ```cpp ``` #### Go ```go ``` --- {} # [{}. {}]({}) [中文文档]({}) ## Description {} ## Solutions ### Solution 1 #### Python3 ```python ``` #### Java ```java ``` #### C++ ```cpp ``` #### Go ```go ``` --- {} # [{}. {}]({}) [English Version]({}) ## 题目描述 {} ## 解法 ### 方法一 #### MySQL ```sql ``` --- {} # [{}. {}]({}) [中文文档]({}) ## Description {} ## Solutions ### Solution 1 #### MySQL ```sql ``` --- {} # [{}. {}]({}) [English Version]({}) ## 题目描述 {} ## 解法 ### 方法一 #### TypeScript ```ts ``` --- {} # [{}. {}]({}) [中文文档]({}) ## Description {} ## Solutions ### Solution 1 #### TypeScript ```ts ```