{"id":23579579,"url":"https://github.com/yanglr/leetcode-ac","last_synced_at":"2025-04-13T05:37:31.807Z","repository":{"id":45210965,"uuid":"56908255","full_name":"yanglr/leetcode-ac","owner":"yanglr","description":":octocat: leetcode-ac | LeetCode AC solutions | LeetCode+剑指offer+程序员面试金典careerup(cc189)","archived":false,"fork":false,"pushed_at":"2021-11-28T13:51:40.000Z","size":37294,"stargazers_count":130,"open_issues_count":0,"forks_count":135,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-24T10:57:13.698Z","etag":null,"topics":["91algo","algorithm","awesome-leetcode","cpp11","datastructures-algorithms","easy-to-understand","interview-practice","interview-preparation","interview-questions","leetcode","leetcode-ac","leetcode-csharp","leetcode-java","leetcode-problems","leetcode-problems-solutions","leetcode-python3","leetcode-solutions","leetcode-solutions-csharp","modern-cpp"],"latest_commit_sha":null,"homepage":"https://yanglr.github.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanglr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-23T08:14:24.000Z","updated_at":"2025-03-03T00:18:06.000Z","dependencies_parsed_at":"2022-08-27T16:02:06.688Z","dependency_job_id":null,"html_url":"https://github.com/yanglr/leetcode-ac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanglr%2Fleetcode-ac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanglr%2Fleetcode-ac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanglr%2Fleetcode-ac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanglr%2Fleetcode-ac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanglr","download_url":"https://codeload.github.com/yanglr/leetcode-ac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670506,"owners_count":21142897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["91algo","algorithm","awesome-leetcode","cpp11","datastructures-algorithms","easy-to-understand","interview-practice","interview-preparation","interview-questions","leetcode","leetcode-ac","leetcode-csharp","leetcode-java","leetcode-problems","leetcode-problems-solutions","leetcode-python3","leetcode-solutions","leetcode-solutions-csharp","modern-cpp"],"created_at":"2024-12-26T23:06:51.495Z","updated_at":"2025-04-13T05:37:31.787Z","avatar_url":"https://github.com/yanglr.png","language":"C++","readme":"# 玩转力扣 | LeetCode原创题解\n\n \u003cimg src='https://github.githubassets.com/images/icons/emoji/octocat.png' width='16px' height='16px'\u003e 仓库[**leetcode-ac**](https://github.com/yanglr/leetcode-ac)提供LeetCode中文题大全、LeetCode**清晰易懂的代码**(含多种语言: C++/Java/C#/Python/Go) 及详细题解, 并将**持续不断更新**, 助你早日斩获大厂Offer! \n\n如果想第一时间收到最新更新, 还请点个star/fork 或 watch, 如果有不错的解法也欢迎提PR~\n\n如果在本项目中发现问题, 欢迎给我提issue喔, 看到后会立刻回复的~\n\n\u003cbr/\u003e\n\n\n## 📢我们的slogan\n\n本仓库[**leetcode-ac**](https://github.com/yanglr/leetcode-ac)的口号是: AC一时爽, 一直AC一直爽。\n\n欢迎关注本项目的同名公众号 **「玩转力扣」**，极客学长带你 **轻松刷 LeetCode**！\n\n\u003ca title=\"玩转力扣\" alt=\"玩转LeetCode\" target=\"_blank\" href=\"https://github.com/yanglr/yanglr\"\u003e\u003cimg width=\"400\" height=\"400\" src=\"https://github.com/yanglr/leetcode-ac/blob/master/assets/images/leetcode-ac-qrcode.jpg?raw=true\"\u003e\u003c/a\u003e\n\n\u003cbr/\u003e\n\n**ps**: 所有题解的代码将第一时间在本仓库更新, 而所有题解将第一时间在公众号 **「玩转力扣」** 更新!\n\n\u003cbr/\u003e\n\n## 🍖仓库食用指南\n\n**1、先给本仓库点个 star，满足一下我的虚荣心**，题解质量绝对值你一个 star。我还在继续创作，给我一点继续写文的动力，感谢。\n\n\n**2、建议关注我的公众号「大白技术控」，坚持高质量的文章输出。**\n\n\n**3、建议收藏我的在线网站，每篇文章开头都有对应的力扣题目链接，可以边看文章边刷题**：\n\n在线阅读 地址：\u003chttps://geekplayers.com/leetcode/solutions\u003e\n\n\n**4、欢迎关注 [我的知乎](https://www.zhihu.com/people/legege007)**。\n\n\u003cbr/\u003e\n\n## 🔧 代码快速查找\n\n为方便大家迅速找到代码, 本仓库提供了如下功能:\n\n在此页面找到\"Go to File\", 然后输入\"leetcode+题目编号\"(leetcode后面跟上编号, 中间这个\"+\"不需要, 中间也不要输入空格), 比如: `leetcode65`, 效果如下:\n\n![代码快速查找-玩转力扣](https://github.com/yanglr/leetcode-ac/blob/master/assets/images/leetcode-code-quick-find.gif?raw=true \"代码快速查找-玩转力扣-极客学长\")\n\n## 🚀 题解进度表\n\n题解进度表包含题解传送门、AC状态、代码传送门等信息。\n\n详情请看: [题解进度表](https://github.com/yanglr/leetcode-ac/blob/master/leetcode-ac-tracking.md)\n\n\n\u003cbr/\u003e\n\n## 已完成的题解列表\n\n[轻松刷Leetcode系列 - 如何使用 VS code 的 Leetcode 插件刷题](https://zhuanlan.zhihu.com/p/85142574)\n\n[轻松刷LeetCode系列 - Leetcode9.回文数 Python版](https://geekplayers.com/python-leetcode9-palindrome-number.html)\n\n[轻松刷LeetCode系列 - Leetcode13.罗马数字转整数 Python版](https://geekplayers.com/python-leetcode13-roman-to-integer.html)\n\n[轻松刷Leetcode系列 - LeetCode38.外观数列(报数) C#版](https://zhuanlan.zhihu.com/p/86412518)\n\n[轻松刷LeetCode系列 - Leetcode58.最后一个单词的长度 Python版](https://geekplayers.com/python-leetcode58-length-of-last-word.html)\n\n[轻松刷LeetCode系列 - LeetCode67.二进制数求和 Python版](https://geekplayers.com/python-leetcode67-add-binary.html)\n\n[轻松刷LeetCode系列 - Leetcode89.格雷码  Python版](https://geekplayers.com/python-leetcode89-gary-code.html)\n\n[轻松刷LeetCode系列 - LeetCode136.只出现一次的数  Python版](https://geekplayers.com/python-leetcode136-single-number.html)\n\n[轻松刷Leetcode系列 - Leetcode191.位1的个数 Python版](https://zhuanlan.zhihu.com/p/82539155)\n\n[轻松刷LeetCode系列 - LeetCode202.快乐数  Python版](https://geekplayers.com/python-leetcode202-happy-number.html)\n\n[轻松刷LeetCode系列 - LeetCode204.统计质数  Python版](https://geekplayers.com/python-leetcode204-count-primes.html)\n\n[轻松刷LeetCode系列 - LeetCode345.反转字符串中的元音字母  Python版](https://geekplayers.com/leetcode345-reverse-vowels-of-a-string.html)\n\n[轻松刷Leetcode系列 - LeetCode593.有效的正方形 C#版](https://zhuanlan.zhihu.com/p/89105960)\n\n[轻松刷Leetcode系列 - LeetCode633.平方数之和 C#版](https://zhuanlan.zhihu.com/p/87986301)\n\n[轻松刷LeetCode系列 - LeetCode645.错误的集合 Python版](https://geekplayers.com/python-leetcode645-set-mismatch.html)\n\n[轻松刷Leetcode系列 - leetcode728.自除数 C#版](https://zhuanlan.zhihu.com/p/86695886)\n\n[轻松刷LeetCode系列 - LeetCode976.三角形的最大周长 Python版](https://geekplayers.com/leetcode976-largest-perimeter-triangle.html)\n\n[轻松刷LeetCode系列 - LeetCode977.有序数组的平方  Python版](https://geekplayers.com/python-leetcode977-squares-of-a-sorted-array.html)\n\n\n\n\u003cbr/\u003e\n\n## 各语言代码所在位置\n\n### C++代码:\n[cpp-leetcode](https://github.com/yanglr/leetcode-ac/tree/master/cpp-leetcode)\n\n\n### C#代码:\n[csharp-leetcode](https://github.com/yanglr/leetcode-ac/tree/master/csharp-leetcode)\n\n\n### Python代码:\n[python3-leetcode](https://github.com/yanglr/leetcode-ac/tree/master/python3-leetcode)\n\n\n\n### Java代码:\n\nintelliJ idea 版:\n[java-leetcode Idea](https://github.com/yanglr/leetcode-ac/tree/master/java-leetcode_intelliJ_idea)\n\nVS code 版:\n[java-leetcode vscode](https://github.com/yanglr/leetcode-ac/tree/master/java-leetcode_vscode)\n\n\n### Golang代码:\n[go-leetcode](https://github.com/yanglr/leetcode-ac/tree/master/go-leetcode)\n\n\u003cbr/\u003e\n\n## LeetCode中文题大全\n\n[leetcode中文题1-400](https://github.com/yanglr/leetcode-ac/tree/master/中文题1-2000/leetcode1-400)\n\n[leetcode中文题401-2000](https://github.com/yanglr/leetcode-ac/tree/master/中文题1-2000/leetcode401-2000)\n\n\u003cbr/\u003e\n\n## 关于作者\n\n知乎 [极客学长Bravo](https://www.zhihu.com/people/legege007), 4.5万读者。\n\nB站 [极客学长呀](https://space.bilibili.com/1443957), 后续会用视频的形式来带大家刷LeetCode题，欢迎点个关注，敬请期待~\n\n本人的个人独立网站: [极客中心](https://www.geekzl.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanglr%2Fleetcode-ac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanglr%2Fleetcode-ac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanglr%2Fleetcode-ac/lists"}