Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

C-Plus-Plus

> DevOps
Open source

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

34.5K stars0 likes5 views
WebsiteGitHub

About

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

The Algorithms - C++ # {#mainpage}

Overview

This repository is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under MIT License. These algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc.. The implementations and the associated documentation are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using a different algorithm strategies and optimizations.

Features

  • The repository provides implementations of various algorithms in one of the most fundamental general purpose languages - C++.
  • Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
  • Each source code is atomic using STL classes and no external libraries are required for their compilation and execution. Thus, the fundamentals of the algorithms can be studied in much depth.
  • Source codes are compiled and tested for every commit on the latest versions of three major operating systems viz., Windows, MacOS, and Ubuntu (Linux) using MSVC 19 2022, AppleClang 15.0.15, and GNU 13.3.0 respectively.
  • Strict adherence to C++17 standard ensures portability of code to embedded systems as well like ESP32, ARM Cortex, etc. with little to no changes.
  • Self-checks within programs ensure correct implementations with confidence.
  • Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other applications.

Documentation

Online Documentation is generated from the repository source codes directly. The documentation contains all resources including source code snippets, details on execution of the programs, diagrammatic representation of program flow, and links to external resources where necessary. The documentation also introduces interactive source code with links to documentation for C++ STL library functions used. Click on Files menu to see the list of all the files documented with the code.

Documentation of Algorithms in C++ by The Algorithms Contributors is licensed under CC BY-SA 4.0

Contributions

As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our Contribution Guidelines.

Issues· 20 open

View all issuesOpen on GitHub
  • #3234

    [BUG] Doxygen does not render JAVADOC_BANNER style comments

    buggood first issueUpdated Sep 29, 2026
  • #3222

    [BUG] Doxygen Markdown parser leaks internal commands into generated HTML for malformed code fences

    bugstaleUpdated Sep 11, 2026
  • #2456

    [FIX] Pre-existing algorithms do not fit the contribution guidelines

    enhancementhelp wanteddont-closeUpdated Sep 5, 2026
  • #2690

    [BUG] error: reference to 'queue' is ambiguous

    bugdont-closeUpdated Sep 5, 2026
  • #3225

    [FEATURE]Add Sliding Window Maximum algorithm using Deque

    enhancementUpdated Sep 5, 2026
  • #1574

    [FEATURE]CPU Scheduling algorithms

    enhancementhelp wanteddont-closeUpdated Jul 3, 2026
  • #1576

    [FEATURE] Competitions solutions

    enhancementdont-closeUpdated May 7, 2026
  • #2437

    [FEATURE] Use workflows from the scripts repository

    enhancementdont-closeUpdated Apr 30, 2026
  • #2492

    [FEATURE] Create a pull request for the Clang Tidy

    enhancementdont-closeUpdated Apr 30, 2026
  • #2411

    [BUG] CI Worklfow not being able to push changes

    bugdont-closeUpdated Apr 30, 2026

> Tags

C++algorithmalgorithm-competitionsalgorithms-implementedartificial-intelligence-algorithms

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理