Restructure english branch: replace old translations with latest English content
- Replace old English-named directories with Chinese-named directories from master
- Convert all articles to English using tutorial source translations (Java code, –lang en)
- Rename all directories and files to English names
- Convert internal links to https://labuladong.online/en/algo/ format
- Regenerate README with English intro and full TOC from tutorial SUMMARY.md
- Add website screenshot
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
labuladong Algo Notes
This repository contains 60+ original articles based on LeetCode problems, covering all problem types and techniques. The goal is to help you think algorithmically — not just memorize solutions.
When it comes to LeetCode, what matters is not the answer itself, but the thought process behind it. A repository full of raw code without explanation isn’t very useful. The real value lies in understanding the frameworks and patterns that let you solve new problems on your own.
Most people grind LeetCode to land a job, not to compete in programming contests. So the focus here is on clarity and practical understanding — building reusable mental frameworks that make algorithm problems approachable and solvable.
Before You Start
1. Give this repo a star if you find it helpful — it keeps me motivated to write more.
2. I recommend studying on my website, where each article links to the corresponding LeetCode problems so you can read and practice side by side. The site covers 500+ problems with step-by-step guidance:
https://labuladong.online/en/algo/
Table of Contents
Introduction
Study Plans for Beginners and Quick Mastery
Tools and Algorithm Visualization
Programming Language Basics
Getting Started: Data Structures and Sorting
Chapter Introduction
Basic Time Complexity
Implement Dynamic Arrays
Implement Single/Double Linked List
Array and LinkedList Variations
Implement Queue and Stack
Implement HashMap
Hash Table Variations
Binary Tree Structure and Traversal
Binary Tree Variations
Graph Structure and Algorithm Overview
Implement and Visualize 10 Sorting Algorithms
Updating
Chapter 1. Data Structure Algorithms
Linked List Algorithm
Array Algorithm
Stack/Queue Algorithm
Binary Tree Algorithm
Master Binary Tree Problems
Binary Tree Follow-up
Design Data Structures
Graph Algorithm
Chapter 2. Brute Force Search
DFS and Backtracking Algorithm
BFS Algorithm
Chapter 3. Dynamic Programming Algorithms
Basic DP Techniques
Subsequence Problems
Knapsack Problems
Dynamic Programming Game
Dynamic Programming ProblemSet
Greedy
Chapter 4. Other Common Techniques
Mathematical Techniques
Classic Interview Problems
More Topics
Computer Science
Design Pattern