TheAlgorithms/C-Plus-Plus resource
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes. observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 46
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 3700
- days_rel: n/a
- days_push: 326
- n_releases_24m: 0
Adoption not part of the score
34612 stars · 7852 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A large open-source collection of algorithms and data structures implemented in C++17 for educational purposes, covering computer science, mathematics, statistics, machine learning, and physics. Each implementation is atomic, well-documented, and dependency-free, with Doxygen-generated documentation and CI testing on major platforms.
Use cases
- learn sorting and searching algorithms in C++
- prepare for coding interviews with algorithm implementations
- study data structures with well-commented C++ code
- find reference implementations of machine learning algorithms
- teach computer science courses with example code
- compare different algorithm strategies for the same problem
When to choose
- you want readable, dependency-free C++ implementations to learn from
- you need educational reference code for algorithms or data structures
- you are preparing for interviews or competitive programming
- you want MIT-licensed algorithm snippets to adapt into projects
When to avoid
- you need a production-grade, performance-optimized algorithm library
- you want a package-manager-installable library with a stable API
- you need battle-tested numerical or ML libraries like Eigen or PyTorch
Facets
learning-resource · maturity active
developer-tools documentation testing education mathematics machine-learning computer-vision tutorials cpp cross-platform windows data-structures interview-preparation competitive-programming sorting searching educational stl c-plus-plus-17 algorithms linux macos
2 sources
- readme: https://github.com/TheAlgorithms/C-Plus-Plus · fetched 2026-08-28 · c8ff4a610af9
- homepage: https://thealgorithms.github.io/C-Plus-Plus · fetched 2026-08-29 · a80b5ad4d384
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TheAlgorithms/C-Plus-Plus | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="TheAlgorithms/C-Plus-Plus")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem