TheAlgorithms/C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

57
/ 100
Established

Implementations use only C++17 standard library (STL) with no external dependencies, enabling compilation across Windows, macOS, and Linux, plus embedded systems like ESP32 and ARM Cortex with minimal changes. Each algorithm includes self-checks for correctness verification and is accompanied by Doxygen-generated documentation with flow diagrams and STL function references. Multiple implementations per algorithm demonstrate different strategies and optimizations for comparative learning.

33,919 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

33,919

Forks

7,741

Language

C++

License

MIT

Last pushed

Oct 11, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/TheAlgorithms/C-Plus-Plus"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.