C++ Algorithms

Open-source C++ projects categorized as Algorithms

Top 23 C++ Algorithm Projects

  1. C-Plus-Plus

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

  2. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  3. cp-algorithms

    Algorithm and data structure articles for https://cp-algorithms.com (based on http://e-maxx.ru)

    Project mention: Algorithms for Competitive Programming | news.ycombinator.com | 2025-01-24
  4. 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.

  5. CGal

    The public CGAL repository, see the README below

    Project mention: Cgal: A Powerful Open-Source Computational Geometry Library | news.ycombinator.com | 2024-08-06
  6. LeetCode-Solutions

    🏋️ Python / Modern C++ Solutions of All 3476 LeetCode Problems (Weekly Update)

  7. NumCpp

    C++ implementation of the Python Numpy library

  8. RxCpp

    Reactive Extensions for C++

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. EPIJudge

    EPI Judge - Preview Release

    Project mention: Huffman Coding | news.ycombinator.com | 2024-11-27

    See some sample code from EPIP[1]

    Also reminiscent of zig zag encoding for ints.

    [1]: https://github.com/adnanaziz/EPIJudge/blob/master/epi_judge_...

  11. etl

    Embedded Template Library

  12. FunctionalPlus

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

  13. Interview_DS_Algo

    Super Repository for Coding Interview Preperation

    Project mention: Interview_DS_Algo: Coding Interview Prep Resource on GitHub | news.ycombinator.com | 2024-10-04
  14. CppRobotics

    cpp implementation of robotics algorithms including localization, mapping, SLAM, path planning and control (by onlytailei)

  15. DataStructures-Algorithms

    This repo contains links of resources, theory subjects content and DSA questions & their solution for interview preparation from different websites like geeksforgeeks, leetcode, etc.

  16. verge

    Official Verge Core Source Code Repository :muscle:

  17. control-flag

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

  18. LearnCPP

    Learn Cpp from Beginner to Advanced ✅ Practice 🎯 Code 💻 Repeat 🔁 One step solution for c++ beginners and cp enthusiasts.

    Project mention: Top Github repositories for 10+ programming languages | dev.to | 2024-07-16

    Awesome C++ Modern Cpp Awesome cpp examples LearnCPP CPP best practises

  19. flux

    A C++20 library for sequence-orientated programming (by tcbrindle)

    Project mention: Comparing C++ range libraries for filter+reverse case with non-trivial lambda | dev.to | 2024-06-03

    fluxranges - Uses flux, a C++20 library for sequence-oriented programming. Quite noisy compared to other range implementations.

  20. CXXGraph

    Header-Only C++ Library for Graph Representation and Algorithms

  21. Algorithms

    Collection of algorithms in multiple programming languages. (by thuva4)

  22. CppRobotics

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

  23. think-cell-library

    think-cell core library

  24. SIMDCompressionAndIntersection

    A C++ library to compress and intersect sorted lists of integers using SIMD instructions

  25. Stim

    A fast stabilizer circuit library.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C++ Algorithms discussion

Log in or Post with

C++ Algorithms related posts

  • Algorithms for Competitive Programming

    1 project | news.ycombinator.com | 24 Jan 2025
  • Huffman Coding

    1 project | news.ycombinator.com | 27 Nov 2024
  • Cgal: A Powerful Open-Source Computational Geometry Library

    1 project | news.ycombinator.com | 6 Aug 2024
  • Competitive Programming

    2 projects | dev.to | 27 Jul 2024
  • Comparing C++ range libraries for filter+reverse case with non-trivial lambda

    6 projects | dev.to | 3 Jun 2024
  • Do you know of any helpful sources like this for leetcode?

    1 project | /r/csMajors | 2 Oct 2023
  • C++ Jobs - Q3 2023

    3 projects | /r/cpp | 4 Jul 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 15 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 C-Plus-Plus 31,413
2 cp-algorithms 8,368
3 LeetCode 5,910
4 CGal 5,274
5 LeetCode-Solutions 4,820
6 NumCpp 3,745
7 RxCpp 3,090
8 EPIJudge 2,856
9 etl 2,368
10 FunctionalPlus 2,164
11 Interview_DS_Algo 2,168
12 CppRobotics 1,972
13 DataStructures-Algorithms 1,931
14 verge 1,411
15 control-flag 1,242
16 LearnCPP 705
17 flux 560
18 CXXGraph 559
19 Algorithms 489
20 CppRobotics 470
21 think-cell-library 432
22 SIMDCompressionAndIntersection 430
23 Stim 428

Sponsored
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io