TheAlgorithms/C-Plus-Plus

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

Open original source ↗

What this repository does

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

Repository facts

Owner
TheAlgorithms
Primary language
C++
Stars
34,663
Forks
7,862
Open issues + pull requests
25
License
MIT
Archived
No
Default branch
master
Created
2016-07-16T10:19:45.000Z
Last push
2025-10-11T14:51:22.000Z

Topics and intended use

Owner-supplied topics: algorithm, algorithm-competitions, algorithms-implemented, artificial-intelligence-algorithms, computer-science, cpp, data-structures, educational, instructor-materials, interview-preparation, interview-questions, machine-learning, machine-learning-algorithms, mathematics, search, sort

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-15T06:38:54.881Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

tensorflow/tensorflow

ggml-org/llama.cpp

react/react-native

electron/electron

godotengine/godot

opencv/opencv