leetcode:多语言实现LeetCode及经典面试题解,覆盖算法与数据结构

🔥LeetCode solutions in any programming language | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解

分支2Tags21
文件最后提交记录最后更新时间
feat: add rust solution to lc No.3093 (#5218) Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>7 天前
feat: add js solution for lc No.3296 2 个月前
chore: update deps (#4895) 5 个月前
feat: update lc problems (#4906) 5 个月前
chore: auto update starcharts11 小时前
fix: update ts solutions to lc problems (#4934) 4 个月前
refactor(lcof): simplify string joining in problem 45 Java solution 2 个月前
feat: update lc problems (#4906) 5 个月前
feat: update solutions (#5211)11 天前
feat: update lc problems (#4906) 5 个月前
feat: add sorting + stack + binary search method for lc No.2736 (#5234)1 天前
style: update format options 3 年前
chore: add configuration file .editorconfig (#3336) 1 年前
feat: add solutions for lc No.2657 (#5216)9 天前
feat: add solutions to lc problem: No.1558 No.1558.Minimum Numbers of Function Calls to Make Target Array 3 年前
feat: add sql solution to lc problem: No.3451 (#4057) No.3451.Find Invalid IP Addresses1 年前
feat: add solutions to lc problem: No.2101 (#3147) No.2101.Detonate the Maximum Bombs1 年前
feat: add CLAUDE.md and AGENTS.md for AI coding assistants (#5220) Add project guidance documentation for AI coding tools (Claude Code, Cursor, OpenCode, etc.) covering directory structure, solution patterns, code formatting, and development workflow. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>6 天前
feat: add CLAUDE.md and AGENTS.md for AI coding assistants (#5220) Add project guidance documentation for AI coding tools (Claude Code, Cursor, OpenCode, etc.) covering directory structure, solution patterns, code formatting, and development workflow. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>6 天前
feat: update lc problems (#4906) 5 个月前
chore: add Dockerfile (#3229) 1 年前
docs: update LICENSE and SOLUTION_TREE 7 年前
feat: add solutions for lc No.2657 (#5216)9 天前
feat: add solutions for lc No.2657 (#5216)9 天前
feat: add commit-msg hook 2 年前
feat: update solutions (#5211)11 天前
feat: update solutions (#5211)11 天前
chore: format rust code with rustfmt (#3140) 1 年前

LeetCode-GitHub-Doocs

open-source-organization languages LICENSE
stars forks

介绍

本项目包含 LeetCode、《剑指 Offer(第 2 版)》、《剑指 Offer(专项突击版)》、《程序员面试金典(第 6 版)》等题目的相关题解。所有题解均由多种编程语言实现,包括但不限于:Java、Python、C++、Go、TypeScript、Rust。我们正在全力更新,欢迎 Star 🌟 关注本项目,获取项目最新动态。

English Version

站点

https://leetcode.doocs.org

算法全解

专项突破

算法提升专题

1. 基础算法

2. 数据结构

3. 搜索

4. 动态规划(DP)

5. 高级数据结构

6. 图论

加入我们

刷编程题的最大好处就是可以锻炼解决问题的思维能力。相信我,「如何去思考」​ 本身也是一项需要不断学习和练习的技能。非常感谢前微软工程师、现蚂蚁金服技术专家 @kfstorm 贡献了本项目的所有 C# 题解

如果你对本项目感兴趣,并且希望加入我们刷题小分队,欢迎随时提交 PR。请参考如下步骤:

  1. 将本项目 fork 到你的个人 GitHub 帐户,然后 clone 到你的本地机器;
  2. 进入 leetcode 目录,切换到一个新的分支;
  3. 对项目做出一些变更,然后使用 git add、commit、push 等命令将你的本地变更提交到你的远程 GitHub 仓库;
  4. 将你的变更以 PR 的形式提交过来,项目的维护人员会在第一时间对你的变更进行 review!
  5. 你也可以参考帮助文档 https://help.github.com/cn 了解更多细节。

Open in GitHub Codespaces

Stars 趋势

Stargazers over time

Star Geographical Distribution of doocs/leetcode

贡献者

感谢以下所有朋友对本项目的贡献!

版权

本项目著作权归 GitHub 开源社区 Doocs 所有,商业转载请联系 @yanglbme 获得授权,非商业转载请注明出处。

联系我们 & 支持项目

欢迎各位小伙伴们添加 @yanglbme 的个人微信(微信号:YLB0109),备注 「leetcode」。后续我们会创建算法、技术相关的交流群,大家一起交流学习,分享经验,共同进步。

如果你觉得这个项目对你有帮助,也欢迎通过微信扫码赞赏我们 ☕️ ~

许可证

知识共享 版权归属-相同方式共享 4.0 国际 公共许可证

项目介绍

🔥LeetCode solutions in any programming language | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解

定制我的领域
31030.19 K6.09 K访问 GitHub

下载使用量

0

项目总下载次数(含Clone、Pull、 zip 包及 release 下载),每日凌晨更新

语言类型

Java20.91%
C++19.2%
Python16.2%
TypeScript15.94%
Go12.63%