# labuladong/fucking-algorithm

Crack LeetCode, not only how, but also why.

Repository: https://github.com/labuladong/fucking-algorithm
Canonical: https://ross.abutalabs.com/products/fucking-algorithm
Homepage: https://labuladong.online/
Language: Markdown
License Family: other
Topics: leetcode, algorithms, interview-questions, data-structures, kmp, dynamic-programming, computer-science, dynamic-programming-algorithm
Last push: 2026-02-28T10:07:31+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 69, release rhythm 35, longevity 100
- inputs: {"age_days": 2387, "days_push": 186, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 135470, forks 23569 (observed 2026-08-28T04:12:24.286904+00:00)

## What it is
A collection of 60+ original tutorial articles (in Chinese, with an English version online) that teach algorithmic thinking through LeetCode problems, covering topics like dynamic programming, KMP, and data structures. It is accompanied by a companion website and browser/IDE plugins that integrate the explanations with LeetCode.

## Use cases
- prepare for coding interviews
- learn dynamic programming patterns
- understand how KMP works
- study data structures with worked examples
- find a structured LeetCode study plan
- learn algorithm templates and frameworks

## When to choose
- you want conceptual explanations and reusable problem-solving frameworks rather than just solution code
- you are preparing for technical interviews with LeetCode-style questions
- you prefer guided, article-based learning with visualizations

## When to avoid
- you need a runnable library or tool rather than educational content
- you only want a curated list of solution code without explanations
- you need content licensed for redistribution - the repo has no license

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools
- domain: education, tutorials, programming-languages
- platform: browser-extension, editor-plugin
- tags: leetcode, interview-preparation, data-structures, dynamic-programming, algorithm-notes, chinese, coding-interview, algorithms, web-server

## Member repositories
- labuladong/fucking-algorithm (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:24.286904+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:11:30.122748+00:00, confidence not recorded.
  - readme: https://github.com/labuladong/fucking-algorithm (fetched 2026-08-28T04:12:24.286904+00:00, sha 7db44e1cc4e5)
  - homepage: https://labuladong.online/ (fetched 2026-08-28T17:26:34.876049+00:00, sha 112302948d5f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
