# knightsj/awesome-algorithm-question-solution

LeetCode，《剑指offer》中的算法题的题目和解法以及常见算法的实现

Repository: https://github.com/knightsj/awesome-algorithm-question-solution
Canonical: https://ross.abutalabs.com/products/awesome-algorithm-question-solution
Language: C++
License: MIT
License Family: permissive
Topics: algorithm, interview, interview-questions, leetcode, solution
Last push: 2023-03-10T08:20:48+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3068, "days_push": 1272, "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 1138, forks 241 (observed 2026-08-28T04:03:44.029053+00:00)

## What it is
A curated collection of algorithm question solutions from LeetCode and the Chinese interview book 'Sword Offer', plus implementations of common algorithms like sorting and binary search. Solutions are written in C++, Java, and Swift and organized by topic such as math, sorting, and linked lists.

## Use cases
- prepare for coding interviews with leetcode problems
- study solutions to sword offer algorithm questions
- learn how to implement classic algorithms like quicksort and binary search
- review linked list and math problem solutions before an interview
- find reference implementations of common algorithms in C++, Java, or Swift

## When to choose
- you are preparing for technical interviews and want worked solutions in C++, Java, or Swift
- you want a topic-organized reference of classic algorithm implementations
- you are studying for the Chinese 'Sword Offer' interview book questions

## When to avoid
- you need a runnable algorithm library or package to import into production code
- you need solutions in languages other than C++, Java, or Swift
- you need up-to-date coverage of recent LeetCode contests

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: education, tutorials
- platform: cross-platform
- tags: leetcode, interview-preparation, algorithm-solutions, sword-offer, cpp, java, swift, algorithms

## Member repositories
- knightsj/awesome-algorithm-question-solution (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.029053+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-30T06:36:09.569857+00:00, confidence not recorded.
  - readme: https://github.com/knightsj/awesome-algorithm-question-solution (fetched 2026-08-28T04:03:44.029053+00:00, sha bfb827126990)
- Data as of 2026-08-30T08:39:29.467469+00:00.
