A Chinese-language algorithm study guide that teaches LeetCode problems through reusable thinking frameworks rather than bare code solutions.
seanprashad/leetcode-patterns
A study guide that groups LeetCode interview questions by reusable solving patterns, with a web app to browse and track them.
- Stars
- 14,253
- Forks
- 2,288
- Open issues
- 3
- Last commit
- 3 days ago
What is it?
Leetcode Patterns organizes technical interview questions by the underlying technique they exercise, such as sliding window, two pointers, or BFS and DFS, rather than presenting them as a random list. The idea is to practice applying a small set of common patterns repeatedly, which is easier to generalize to unseen interview problems than grinding through problems in arbitrary order.
The project includes a short fundamentals section covering the data structures and algorithms worth knowing well before practicing, along with notes on useful Java standard library methods. The full question list is published as a web page, and Java solutions are kept in a separate branch.
The site is a Next.js and React application with a table view of the questions, built with TypeScript, Tailwind CSS, and TanStack Table. It includes a Vitest test suite and runs tests automatically before each push through a Husky hook.
Key features
- 01Groups LeetCode questions by subtopic and solving pattern
- 02Lists core data structures and algorithms to review before practicing
- 03Provides a browsable web question list
- 04Includes Java solutions in a separate branch
- 05Ships with a Vitest test suite and a pre-push test hook
Use cases
- Preparing for software engineering interviews by practicing one pattern at a time
- Reviewing which data structures and algorithms to master before interviews
- Studying LeetCode problems in a structured order instead of at random
Quick start
- 1
Install dependencies
npm install - 2
Start the development server at http://localhost:3000
npm run dev
Things to know
- The license could not be identified automatically, so check the repository before reusing the code.
Topics
FAQ
- What is leetcode-patterns?
- A study guide that groups LeetCode interview questions by reusable solving patterns, with a web app to browse and track them. Leetcode Patterns organizes technical interview questions by the underlying technique they exercise, such as sliding window, two pointers, or BFS and DFS, rather than presenting them as a random list. The idea is to practice applying a small set of common patterns repeatedly, which is easier to generalize to unseen interview problems than grinding through problems in arbitrary order.
- Is leetcode-patterns free to use? What license does it have?
- leetcode-patterns is open source under the Other license. Check the license terms before using it in commercial products.
- Is leetcode-patterns still maintained?
- Actively maintained. The last commit to leetcode-patterns was on Oct 21, 2026.
- What can I use leetcode-patterns for?
- Preparing for software engineering interviews by practicing one pattern at a time Reviewing which data structures and algorithms to master before interviews Studying LeetCode problems in a structured order instead of at random
- How do I install leetcode-patterns?
- Install dependencies: npm install Start the development server at http://localhost:3000: npm run dev
- Where can I get leetcode-patterns?
- The source code and installation instructions are on GitHub: https://github.com/seanprashad/leetcode-patterns
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Go solutions to LeetCode problems with a companion Cookbook e-book, covering data structures and algorithms for interview prep.
A collection of DSA, competitive programming and CS fundamentals notes and solutions in Jupyter Notebook, aimed at FAANG-style interview prep.
A Chinese-language LeetCode study guide with a curated problem order, illustrated solutions, video explanations, and code in C++, Java, Python, Go and JavaScript.
A Go template library of competitive programming algorithms and data structures, with solutions to Codeforces and LeetCode problems.
A community-maintained collection of algorithms implemented in Python, intended for learning and education.