stevenhalim/cpbook-code resource
CP4 Free Source Code Project (C++17, Java11, Python3 and OCaml) observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 87
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2836
- days_rel: n/a
- days_push: 78
- n_releases_24m: 0
Adoption not part of the score
2348 stars · 543 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The free companion source code repository for the Competitive Programming 4 book, containing implementations of well-known data structures and algorithms in C++17, Java 11, Python 3, and OCaml. It serves as a reference library that programmers can copy, adapt, and use in contests or other coding projects.
Use cases
- study data structures and algorithms for competitive programming
- find reference implementations of classic algorithms before a contest
- copy well-tested algorithm templates like segment trees or graph algorithms
- compare algorithm implementations across C++, Java, Python, and OCaml
- supplement reading the Competitive Programming 4 book with runnable code
- prepare for ICPC or Codeforces contests with reusable code snippets
When to choose
- you are preparing for programming contests and want battle-tested algorithm templates
- you want to learn how classic data structures and algorithms are implemented in multiple languages
- you are reading the CP4 book and want its accompanying code
- you need a quick reference implementation rather than writing algorithms from scratch
When to avoid
- you need a production-ready algorithm library with package management and versioned releases
- you want a general-purpose data structures library to use as a dependency in applications
- you need code with a formal open-source license file for commercial redistribution
- you are looking for tutorials or explanations rather than source code
Facets
learning-resource · maturity active
developer-tools education programming-languages cross-platform competitive-programming data-structures algorithms reference-code cp4 cpp java python ocaml
1 source
- readme: https://github.com/stevenhalim/cpbook-code · fetched 2026-08-28 · 1e1bf3783d38
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stevenhalim/cpbook-code | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="stevenhalim/cpbook-code")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem