登录 注册
教育与学习开发者工具 algorithmsdata-structuresinterview-prepinterview-questionsleetcodeleetcode-patterns
14,340
Stars
2,306
Forks
117
Watchers
3
Open Issues
NOASSERTION
许可证
TypeScript
语言
2018-12-31
创建时间
2026-11-08
最近更新

项目能做什么

基于题型模式分类的技术面试刷题学习指南。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="public/images/logo-dark.png" />
    <source media="(prefers-color-scheme: light)" srcset="public/images/logo-light.png" />
    <img alt="Leetcode Patterns" src="public/images/logo-light.png" width="500" />
  </picture>
</p>

<p align="center">
  <a href="https://github.com/seanprashad/leetcode-patterns/actions/workflows/deploy.yml"><img src="https://github.com/seanprashad/leetcode-patterns/actions/workflows/deploy.yml/badge.svg" alt="Deploy to GitHub Pages" /></a>
  <a href="https://github.com/seanprashad/leetcode-patterns/actions/workflows/update-questions.yml"><img src="https://github.com/seanprashad/leetcode-patterns/actions/workflows/update-questions.yml/badge.svg" alt="Update Questions" /></a>
</p>

## Table of Contents

- [Background](#background)
- [Fundamentals](#fundamentals)
- [Notes](#notes)
- [Question List](#question-list)
- [Solutions](#solutions)
- [Contributing](#contributing)
- [Suggestions](#suggestions)
- [Acknowledgements](#acknowledgements)

## Background

This repo is intended for any individual wanting to improve their problem
solving skills for software engineering interviews.

Problems are grouped under their respective subtopic, in order to focus on
repeatedly applying common patterns rather than randomly tackling questions.

All questions are available on [leetcode.com] with some requiring [leetcode premium].

## Fundamentals

To find the greatest amount of success when practicing, it is highly recommended
to know the methods and runtimes of the following data structures and their
operations:

- Arrays
- Maps
- Linked Lists
- Queues
- Heaps
- Stacks
- Trees
- Graphs

In addition, you should have a good grasp on common algorithms such as:

- Breadth-first search
- Depth-first search
- Binary search
- Recursion

## Notes

[This pdf] contains information for the main data structures in Java.

Other useful methods to know include [`substring()`](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#substring-int-int-), [`toCharArray()`](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toCharArray--), [`Math.max()`](https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#max-int-int-),
[`Math.min()`](https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#min-int-int-), and [`Arrays.fill()`](https://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#fill-int:A-int-).

## Question List

The entire question list can be found here:
https://seanprashad.com/leetcode-patterns/.

## Solutions

Solutions written in Java can be found in the [solutions] branch.

## Contributing

The app is built with [Next.js] (App Router), [React] 19, [TypeScript], [Tailwind CSS] v4, [TanStack Table] v8, [Lucide React] for icons, and Google Analytics via `@next/third-parties`. Tests use [Vitest] + [React Testing Library].

```bash
npm install
npm run dev         # http://localhost:3000
npm test            # single run
npm 
阅读完整原文

项目深度分析 AI 生成

交互式模式化刷题与思维导图 SaaS

产品构想基于原项目的 Pattern 分类法,开发一个深度交互式的备考平台,提供每个 Pattern 的模板代码、动态数据结构推演及递进式题解训练。
核心功能各 Pattern 的通用代码模板、动画可视化执行流程、按公司/难度的自适应刷题路径、刷题进度同步与复习提醒(艾宾浩斯记忆曲线)。
目标用户自学刷题效率低、对常见算法模式掌握不牢固的求职工程师。
难度/周期中等 · 1-2个月 · 成本:< $100/月(基础 Web 托管、数据库与轻量 API)
收费模式免费增值(Freemium):基础 Pattern 免费,高级 Pattern 详解、公司特定标签过滤与推演功能采用订阅制(如 $9.9/月 或 $49 买断)。
竞争风险市场上竞品丰富(如 LeetCode 官方、NeetCode 等),需要极高品质的可视化或解析来形成壁差异化;原仓库采用 NOASSERTION 协议,商业化时需自研题解内容避免侵权风险。
依据 数据支持的判断

AI 辅助的解题模式诊断与 Mock 刷题插件

产品构想基于该项目沉淀的模式体系,开发 Chrome 浏览器插件,在用户打开 LeetCode 题目时提供“Pattern 启发提示”而非直接给答案,引导用户识别解题模式。
核心功能浏览器内嵌悬浮窗、题目模式识别归类、渐进式思路提示(Hint 1/2/3)、时空复杂度推导助手、模式套用模板注入。
目标用户正在 LeetCode 刷题但经常卡壳、缺乏解题思路的考生。
难度/周期简单 · 2-4周 · 成本:< $50/月(轻量 LLM API 成本 + 插件服务器)
收费模式按使用量或月度订阅(如每月 $4.99 提供无限次 AI 渐进引导)。
竞争风险LeetCode 官方 UI 频繁变动可能导致插件失效;LLM API 调用成本失控风险。
依据 AI推测

算法模式实战与高频母题电子书/速查手册

产品构想将项目涉及的核心 Pattern、高频母题、Java/Python/Go 多语言模板及解题思维导图系统化整理为高质量数字手册或小册。
核心功能精心排版的 PDF/ePub 手册、各模式核心套路与边界条件总结、多语言精炼代码模板、高频面试真题与模式映射图谱。
目标用户需要面试前突击复习、希望离线阅读或系统化查阅套路手册的求职者。
难度/周期简单 · 2-3周 · 成本:几乎为 0(Gumroad/小报童等平台分成模式)
收费模式数字商品单次付费购买(定价 $15 - $29)。
竞争风险数字产品容易被盗版传播;内容创作需要深厚算法功底,耗费精力。
依据 已验证事实
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2018-12-31,近 30 天仍在推送
社区活跃Star 14,340 / Fork 2,306 / Issue 3(数据支持,可自行核实)
许可证NOASSERTION
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。