# soulmachine/leetcode

LeetCode题解，151道题完整版。

Repository: https://github.com/soulmachine/leetcode
Canonical: https://ross.abutalabs.com/products/soulmachine-leetcode
Language: TeX
License: BSD-3-Clause
License Family: permissive
Last push: 2024-07-10T22:02:14+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4712, "days_push": 784, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11339, forks 3366 (observed 2026-08-28T04:10:46.809031+00:00)

## What it is
An open-source book of solutions to 151 LeetCode algorithm problems, written in LaTeX and available as PDF in C++ (with a Java version in progress). It is readable online and compiled to PDF via TeX Live, including a Docker-based build setup.

## Use cases
- prepare for coding interviews with leetcode solutions
- learn algorithms and data structures with c++ examples
- download a free leetcode solutions pdf book
- study 151 leetcode problem explanations
- find reference implementations for classic algorithm problems
- learn how to typeset a technical book in latex

## When to choose
- you want a free, well-organized written book of LeetCode solutions in C++
- you prefer reading algorithm explanations offline as a PDF
- you want to study problem-solving patterns before interviews

## When to avoid
- you need an interactive online judge or auto-graded practice
- you need solutions in languages other than C++ or Java
- you want up-to-date coverage of recent LeetCode problems

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: tutorials, education, programming-languages
- platform: cross-platform, cli
- tags: leetcode, interview-preparation, data-structures, algorithms, cpp, java, latex, pdf-book, docker

## Member repositories
- soulmachine/leetcode (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.809031+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-29T17:15:56.520799+00:00, confidence not recorded.
  - readme: https://github.com/soulmachine/leetcode (fetched 2026-08-28T04:10:46.809031+00:00, sha cbb8c8bd50b1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
