登录 注册
教育与学习 algoalgorithmleetcodeleetcode-gopattern
15,463
Stars
2,553
Forks
344
Watchers
28
Open Issues
MIT
许可证
Go
语言
2020-06-13
创建时间
2026-05-30
最近更新

项目能做什么

系统科学的算法刷题模板与进阶指南,助力高效准备技术面试。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

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

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Algorithm Patterns

**English** | [中文](./README_zh.md)

![Let's grind LeetCode](https://cdn.jsdelivr.net/gh/greyireland/algorithm-pattern@master/images/title.png)

Algorithm patterns — the most scientific way to practice, the fastest path to an offer. Go from beginner to offer in one month. You deserve it 🐶~

As the name suggests, "algorithm patterns" are reusable templates for solving problems. Once you master them, grinding problems actually becomes fun~

> This project is a record of my own journey grinding LeetCode from scratch while job hunting. Through countless articles, columns, and videos, I distilled a set of problem-solving templates of my own.
>
> These templates mainly cover general-purpose patterns, along with common questions such as: how many problems should you actually solve, in what order, and how to practice more efficiently.

## Online Docs

Online docs on Gitbook: [Algorithm Patterns 🔥](https://greyireland.gitbook.io/algorithm-pattern/)

## Core Contents

### Getting Started 🐶

- [Intro to Go](./en/introduction/golang.md)
- [Algorithm Quickstart](./en/introduction/quickstart.md)

### Data Structures 🐰

- [Binary Tree](./en/data_structure/binary_tree.md)
- [Linked List](./en/data_structure/linked_list.md)
- [Stack and Queue](./en/data_structure/stack_queue.md)
- [Binary / Bit Manipulation](./en/data_structure/binary_op.md)

### Basic Algorithms 🐮

- [Binary Search](./en/basic_algorithm/binary_search.md)
- [Sorting Algorithms](./en/basic_algorithm/sort.md)
- [Dynamic Programming](./en/basic_algorithm/dp.md)

### Algorithmic Thinking 🦁

- [Recursion](./en/advanced_algorithm/recursion.md)
- [Sliding Window](./en/advanced_algorithm/slide_window.md)
- [Binary Search Tree](./en/advanced_algorithm/binary_search_tree.md)
- [Backtracking](./en/advanced_algorithm/backtrack.md)

## Reflections

Most articles introduce the thought process behind each problem along with analysis of common pitfalls. Having an idea isn't enough — you still need to write the code yourself, so every article ends with corresponding practice problems.

After finishing these practice problems, you'll have developed your own understanding of data structures and algorithms, and you'll be able to solve most interview questions. The big domestic companies (BAT, TMD) should no longer be a problem.

Starting my job search in April, I went from zero to grinding LeetCode, finishing 240 problems in about a month and a half (6 weeks).

![240 problems in a month and a half](https://cdn.jsdelivr.net/gh/greyireland/algorithm-pattern@master/images/leetcode_time.png)

![Practice record](https://cdn.jsdelivr.net/gh/greyireland/algorithm-pattern@master/images/leetcode_record.png)

When I first started, I really didn't know where to begin. Going in numeric order, I'd hit a hard problem after just a few and get stuck for a long time. Later I read the comments to see how others practiced and Googled the best approach, and discovered that practicing by topic is much more comfortab
阅读完整原文

商业机会分析 AI 生成

内容付费与出版物变现(小册/电子书/多语言扩展版)

产品构想基于现有开源模板,增加Java/Python/C++等多语言实现,补充近2-3年大厂高频面试真题与详细题解,打包为付费电子书、专栏小册或实体出版物。
核心功能完整多语言模板(Go/Java/Python/C++)、200+高频题目精讲与思路拆解、思维导图与速查手册卡片、离线精编PDF/EPUB。
目标用户寻求系统化算法冲刺、偏好非Go语言或需要更详尽题解说明的求职工程师。
难度/周期低 · 2-4周 · 成本:极低(内容整理与编写工时,排版工具成本)
收费模式一次性买断制电子书(如Gumroad、小报童、微信豆购买),售价29-99元人民币。
竞争风险开源内容易被盗版和扩散;知识变现门槛较低,竞品众多(如代码随想录、labuladong等)。
依据 已验证事实

求职冲刺训练营与社群陪伴服务

产品构想依托1.5万+ Star流量,建立“6周Offer冲刺算法打卡群”,提供每日刷题规划、模板答疑、作业打卡监督与大厂求职答疑。
核心功能6周结构化打卡计划、专属答疑社群、每周线上直播答疑与代码Review、面试心理及简历简评。
目标用户自控力较弱、急需短期(1-2个月)内通过大厂算法考核的校招生或在职转码者。
难度/周期中 · 1-2个月 · 成本:低(主要为运营、社群管理与答疑的时间精力)
收费模式按期收费的训练营模式,客单价299-999元/人。
竞争风险服务交付较重,过度依赖个人时间精力,扩展性受限;学员若未拿到offer可能产生退款或客诉纠纷(推测)。
依据 数据支持的判断

算法模板交互式练习与面试模拟平台(SaaS)

产品构想将静态文档演进为轻量Web应用,提供模板填空式练习、算法动画可视化、白板代码模拟及AI代码诊断优化功能。
核心功能模板挖空填词模式、常见Bug自动识别、AI根据思路给出模板匹配提示、大厂高频题模拟白板考核系统。
目标用户需要动手实操强化模板记忆、希望模拟真实白板面试场景的求职者。
难度/周期高 · 2-3个月 · 成本:中(前端交互开发、代码沙箱执行/AI API调用成本、服务器运维)
收费模式Freemium模式,基础题目练习免费,高级评测、AI诊断与无限次白板模拟按月订阅(如39元/月)。
竞争风险与LeetCode、牛客等成熟平台竞争激烈;独立开发维护沙箱及评测系统的工程成本较高(推测)。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

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

项目中文简介Stars语言
trekhleb/javascript-algorithms 中文介绍暂未生成
📝 Algorithms and data structures implemented in JavaScript w
196,730 JavaScript
labuladong/fucking-algorithm 中文介绍暂未生成
Crack LeetCode, not only how, but also why.
136,050 Markdown
krahets/hello-algo 中文介绍暂未生成
《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持简中、繁中、English、日本語,提供 Python
132,217 Python
twitter/the-algorithm 中文介绍暂未生成
Source code for the X Recommendation Algorithm
74,062 Scala
azl397985856/leetcode 中文介绍暂未生成
LeetCode Solutions: A Record of My Problem Solving Journey.(
55,704 JavaScript
algorithm-visualizer/algorithm-visualizer 中文介绍暂未生成
:fireworks:Interactive Online Platform that Visualizes Algor
49,480 JavaScript
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2020-06-13,最近推送 2026-05-30
社区活跃Star 15,463 / Fork 2,553 / Issue 28(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/greyireland/algorithm-pattern.git
cd algorithm-pattern
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。