Study algorithms implemented in C++ through this open-source learning repository.

thealgorithms.github.io/C-Plus-Plus
The Algorithms - C++ homepage screenshot

About The Algorithms - C++

The Algorithms - C++ is a collection of algorithms implemented in C++ and licensed under MIT License. It covers topics including computer science, mathematics and statistics, data science, machine learning, and engineering, with documentation generated directly from the source code.

Each implementation uses STL classes without external libraries, follows the C++17 standard, and includes self-checks. Source code is compiled and tested on Windows, macOS, and Ubuntu (Linux) for every commit.

Key features

  • C++ implementations spanning computer science, math, statistics, and engineering
  • Multiple implementations of same objective using different strategies
  • Atomic source files using STL classes without external libraries
  • Code compiled and tested on Windows, macOS, and Ubuntu
  • C++17 code portable to embedded systems such as ESP32
  • Programs include self-checks to verify correct implementation
Best for: Educators and students who want to study algorithm fundamentals through C++ examples.
Good for
  • No external libraries required for compilation and execution
  • Tested on Windows, macOS, and Ubuntu for every commit
  • Documentation includes code snippets, execution details, and flow diagrams

The Algorithms - C++ at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Linux, macOS, Web, Windows
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

The Algorithms - C++ alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Science, Math & Technology

Well-known listings from the same topic.

All 276

The Algorithms - C++ FAQ

What license covers the code and documentation?
The code is licensed under MIT License; the documentation is licensed under CC BY-SA 4.0.
Are external libraries needed to compile the code?
No. Each source file uses STL classes and requires no external libraries.
Can I contribute new algorithms?
Yes. The repository welcomes new un-plagiarized quality contributions under its contribution guidelines.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing