Go solutions to LeetCode problems with a companion Cookbook e-book, covering data structures and algorithms for interview prep.
youngyangyang04/leetcode-master
A Chinese-language LeetCode study guide with a curated problem order, illustrated solutions, video explanations, and code in C++, Java, Python, Go and JavaScript.
- Stars
- 62,733
- Forks
- 12,277
- Open issues
- 263
- Last commit
- 21 hours ago
What is it?
leetcode-master is a structured algorithm study plan written in Chinese, known as 《代码随想录》. It arranges about 200 classic LeetCode problems in a recommended order grouped by topic, from arrays and linked lists through trees, backtracking, greedy, dynamic programming and graphs.
Each topic includes theory notes, the problems themselves, and a summary chapter. Solutions are illustrated with diagrams and mind maps, with video walkthroughs for harder problems. The main explanations use C++, and community-contributed implementations are provided in Java, Python, Go and JavaScript.
The repository is mainly Chinese-language content, with an English edition hosted separately and a Gitee mirror for readers in mainland China.
Key features
- 01Problems ordered by topic and difficulty as a recommended study path
- 02Illustrated solutions and mind maps for each topic
- 03Video explanations for harder problems
- 04Main explanations in C++, with community code in Java, Python, Go and JavaScript
- 05Topic summary chapters for review
Use cases
- Preparing for software engineering technical interviews with a structured problem list
- Learning data structures and algorithms from scratch in a guided order
- Reviewing a specific topic such as dynamic programming or graphs with worked explanations
Things to know
- No license is specified, so reuse terms are unclear.
- The guide is written mainly in Chinese, and its main solutions are in C++.
Topics
FAQ
- What is leetcode-master?
- A Chinese-language LeetCode study guide with a curated problem order, illustrated solutions, video explanations, and code in C++, Java, Python, Go and JavaScript. leetcode-master is a structured algorithm study plan written in Chinese, known as 《代码随想录》. It arranges about 200 classic LeetCode problems in a recommended order grouped by topic, from arrays and linked lists through trees, backtracking, greedy, dynamic programming and graphs.
- Is leetcode-master free to use? What license does it have?
- leetcode-master has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
- Is leetcode-master still maintained?
- Actively maintained. The last commit to leetcode-master was on Oct 24, 2026.
- What can I use leetcode-master for?
- Preparing for software engineering technical interviews with a structured problem list Learning data structures and algorithms from scratch in a guided order Reviewing a specific topic such as dynamic programming or graphs with worked explanations
- Where can I get leetcode-master?
- The source code and installation instructions are on GitHub: https://github.com/youngyangyang04/leetcode-master
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Chinese-language algorithm study guide that teaches LeetCode problems through reusable thinking frameworks rather than bare code solutions.
A Go template library of competitive programming algorithms and data structures, with solutions to Codeforces and LeetCode problems.
Interactive practice platform for implementing PyTorch operators and architectures from scratch, with automated grading in Jupyter.
A study guide that groups LeetCode interview questions by reusable solving patterns, with a web app to browse and track them.
A collection of DSA, competitive programming and CS fundamentals notes and solutions in Jupyter Notebook, aimed at FAANG-style interview prep.