# wangzheng0822/algo

数据结构和算法必知必会的50个代码实现

Repository: https://github.com/wangzheng0822/algo
Canonical: https://ross.abutalabs.com/products/wangzheng0822-algo
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2024-08-21T07:31:34+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": 2900, "days_push": 742, "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 23135, forks 6973 (observed 2026-08-28T04:11:34.487159+00:00)

## What it is
A collection of 50 reference implementations of essential data structures and algorithms in Python (with some other language variants), accompanying a popular Chinese algorithms course. It covers arrays, linked lists, stacks, queues, sorting, binary search, hash tables, trees, heaps, graphs, backtracking, divide-and-conquer, and dynamic programming.

## Use cases
- learn data structures and algorithms with example code
- prepare for coding interviews
- find reference implementations of classic algorithms like Dijkstra or LRU cache
- study dynamic programming and backtracking examples
- review sorting and binary search implementations

## When to choose
- you want readable educational implementations of core data structures and algorithms
- you are preparing for technical interviews and want worked examples
- you are following the author's algorithms course and want companion code

## When to avoid
- you need production-ready, performant data structure libraries
- you need comprehensive algorithm coverage beyond the 50 listed exercises
- you need actively maintained code with tests and releases

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: education, tutorials
- platform: python, cross-platform
- tags: data-structures, algorithms, interview-prep, educational-code, chinese

## Member repositories
- wangzheng0822/algo (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:34.487159+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:56:47.199671+00:00, confidence not recorded.
  - readme: https://github.com/wangzheng0822/algo (fetched 2026-08-28T04:11:34.487159+00:00, sha d81cbd90f358)
- Data as of 2026-08-30T08:39:29.467469+00:00.
