C++ Algorithms

Open-source C++ projects categorized as Algorithms | Edit details

Top 23 C++ Algorithm Projects

  • C-Plus-Plus

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

    Project mention: My Favorite Language has Changed to PHP | reddit.com/r/PHP | 2022-03-16

    C++: https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/merge_sort.cpp

  • Thrust

    The C++ parallel algorithms library.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • LeetCode

    This repository contains the solutions and explanations to the algorithm problems on LeetCode. Only medium or above are included. All are written in C++/Python and implemented by myself. The problems attempted multiple times are labelled with hyperlinks. (by wisdompeak)

    Project mention: Is Striver's SDE Sheet enough for placements? What all resources should I refer to for placement preparation? | reddit.com/r/developersIndia | 2022-03-05

    If you still want to solve more questions, wisdompeak will be a great resource. Obviously you don't need to solve every question. Most of those are interesting and you can filter as you solve more and more questions.

  • CGal

    The public CGAL repository, see the README below

  • RxCpp

    Reactive Extensions for C++

    Project mention: ReactivePlusPlus (reactive programming library for c++20) v0.0.1 is out with base operators (looking for feedback) | reddit.com/r/cpp | 2022-05-14

    Yeah, I know this problem with operators =), original RxCpp implementation also has this problem with implementing all functions into base class and calling dependent functions internally.

  • e-maxx-eng

    Translation of http://e-maxx.ru into English

    Project mention: i'm italian | reddit.com/r/notinteresting | 2022-05-04

    (From https://cp-algorithms.com/graph/strongly-connected-components.html; licensed under https://github.com/e-maxx-eng/e-maxx-eng/blob/master/LICENSE)

  • EPIJudge

    EPI Judge - Preview Release

    Project mention: Using VS CODE | reddit.com/r/leetcode | 2022-03-12

    I don't know about Leetcode. But there is an off line test suite you can download for the problems of EPI (for Python, Java, and C++). https://github.com/adnanaziz/EPIJudge

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • NumCpp

    C++ implementation of the Python Numpy library

    Project mention: Machine Learning using C++ vs Python | reddit.com/r/cpp_questions | 2021-12-27

    Yeah, as someone who writes C++ daily for their ML related job, I concur that the cost of executing a convolutions dwarves the overhead of calling from Python. So as much as I like C++ over Python (because static compilation to find little typos or type mismatches ahead of time is much nicer than exploding 5 minutes later into my batched vision recognition problem 😠), generally for small problems, Python is a nice quick and dirty approach. I do have my eye though on this little C++ numpy clone.

  • FunctionalPlus

    Functional Programming Library for C++. Write concise and readable C++ code.

    Project mention: C++20 Ranges The Key Advantage - Algorithm Composition | reddit.com/r/cpp | 2022-03-28

    I use a library called FunctionalPlus daily.

  • etl

    Embedded Template Library

    Project mention: Std banning. | reddit.com/r/embedded | 2022-05-09
  • control-flag

    A system to flag anomalous source code expressions by learning typical expressions from training data

    Project mention: Intel ControlFlag full support for PHP language | news.ycombinator.com | 2022-04-13
  • CppRobotics

    Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!

    Project mention: Should I rename CppRobotics to Control++? | reddit.com/r/ControlTheory | 2021-09-28

    I even opened an issue about this, so feel free to post your ideas there.

  • algorithms

    Algorithms & Data Structures studies. https://iamtk.co/series/data-structures (by imteekay)

    Project mention: Linked List Data Structure | dev.to | 2022-03-16


  • Data-Structures-and-Algorithms-in-cpp

    This repository is in development phase and will soon provide you with c++ code of various data structures and algorithms

  • Daily-Coding-DS-ALGO-Practice

    A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐

    Project mention: My First Opensource Program Experience [LGMSOC] | dev.to | 2021-08-16

    At the time when I Joined the Programme I didn't know a lot about Opensource. I just know that what is commit, pull request, issue, how to create repository but not have implemented as I should. While the program runs I contribute to Daily-Algo-Pratice, Hacking-Script and makesmatheasy and I found my many mistake which are pointed by my mentor. As well as due to the Programme I became more active on GitHub and solved many problem and create many projects which helps me a lot to learn about many expects of programming that how a great project is arranged and etc. Before the programme I have listen about Summer of code(SOC) but never Participated. It was a great experienced through out the programme

  • LeetCode-Solutions

    A compilation of all the Leetcode solutions. (by SHY-Corp)

    Project mention: Best c++ interview practice | reddit.com/r/cpp | 2022-05-16
  • Data-Structures-and-Algorithms

    Data Structures and Algorithms implemented In Python, C, C++, Java or any other languages. Aimed to help strengthen the concepts of DSA. Give a Star 🌟 if it helps you.

  • DSA-cpp

    C++ fundamentals and questions for beginners and intermediates. Welcoming developers, content writers, and programming enthusiasts.

    Project mention: Getting Started: Git and Github for beginners with Hacktoberfest 2021 | dev.to | 2021-10-03
  • parlaylib

    A Toolkit for Programming Parallel Algorithms on Shared-Memory Multicore Machines

    Project mention: ParlayLib - A Toolkit for Programming Parallel Algorithms on Shared-Memory Multicore Machines | reddit.com/r/cpp | 2021-12-10
  • CPURasterizer

    CPU Based Rasterizer Engine

  • bomberland

    Bomberland: a multi-agent AI competition based on Bomberman. This repository contains both starter / hello world kits + the engine source code

    Project mention: Show HN: Bomberland – An AI competition to build the best Bomberman bot | news.ycombinator.com | 2021-09-24

    Thanks for the feedback! We're working on improving the onboarding flow. Sorry about the Docker link issue - it should link you to a copy of the environment binary so that you can play around without Docker (no docs for this workflow just yet unfortunately).

    It's essentially a Bomberman-inspired game, where you program the agents to play in it and can play against other users' agents. You can try it out without an account by cloning one of the starter kits here: https://github.com/CoderOneHQ/bomberland and following the usage instructions (but you'll need to create an account to use the visualizer and to submit agents).

    We recommend the Docker flow, but if you get stuck feel free to reach out to me (Joy) or @thegalah (Matt) on our Discord: https://discord.gg/NkfgvRN

  • dsalgo

    Contains Algorithms useful for interview preparation, various practice problems of Arrays, Stacks, queue etc. Contributors are Welcome but, DO NOT MAKE THIS REPO ACT LIKE A SOURCE OF +1. (by dheeraj-2000)

    Project mention: First Experience with Hacktoberfest (2021) | dev.to | 2021-10-09

    DS Algo

  • cpp

    algorithms in c++ (by vsmolyakov)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-16.

C++ Algorithms related posts


What are some of the best open-source Algorithm projects in C++? This list will help you:

Project Stars
1 C-Plus-Plus 19,318
2 Thrust 3,874
3 LeetCode 3,161
4 CGal 3,126
5 RxCpp 2,602
6 e-maxx-eng 2,390
7 EPIJudge 2,382
8 NumCpp 2,303
9 FunctionalPlus 1,618
10 etl 1,184
11 control-flag 1,159
12 CppRobotics 328
13 algorithms 315
14 Data-Structures-and-Algorithms-in-cpp 280
15 Daily-Coding-DS-ALGO-Practice 262
16 LeetCode-Solutions 221
17 Data-Structures-and-Algorithms 211
18 DSA-cpp 196
19 parlaylib 126
20 CPURasterizer 103
21 bomberland 61
22 dsalgo 47
23 cpp 37
Find remote jobs at our new job board 99remotejobs.com. There are 13 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives