Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


All Algorithms implemented in C++

Subscribe to updates I use C-Plus-Plus

Statistics on C-Plus-Plus

Number of watchers on Github 193
Number of open issues 2
Main language C++
Average time to merge a PR 17 days
Open pull requests 11+
Closed pull requests 26+
Last commit over 1 year ago
Repo Created about 3 years ago
Repo Last Updated over 1 year ago
Size 1.23 MB
Organization / Authorthealgorithms
Page Updated
Do you use C-Plus-Plus? Leave a review!
View open issues (2)
View C-Plus-Plus activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating C-Plus-Plus for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


This repository contains some useful algorithms and data structures.


How you can contribute? See this small guide.

  • Use the directory structure of the repository.
  • Please describe your pull requests.
  • Don't use bits/stdc++.h because this is quite Linux specific and slow down the compiler process.
  • Put in comments in your code.
  • Avoid struct uses instead the class keyword.
  • Add some test cases in the main-function.
C-Plus-Plus open pull requests (View All Pulls)
  • Create Max1DRangeSum.cpp
  • Edit Distance Algorithm
  • Update Kruskals Minimum Spanning Tree.cpp
  • Add Ternary Search
  • DisjointSetAlgo-Number of Components
  • Reorganisation of folders and Updated
  • Intersection_of_two_linkedlists
  • PostOrderTraversal in Binary Tree
  • preorder_traversal in binary tree
  • inorder traversal in Binary tree
  • Create TriSparse Matrix
C-Plus-Plus questions on Stackoverflow (View All Questions)
  • C plus plus Kill process windows title
  • C plus plus wont loop
  • C Plus Plus not calculating correctly
  • C plus plus about defining static data member in header file or source file
  • error C4308: negative integral constant converted to unsigned type C plus plus, How can I solve this issue?
  • finding median via function in c plus plus
  • connecting to firebird db with c-plus-plus
  • hide bash code which is inside c plus plus program
  • C Plus Plus: Calculating the area of Rectangle and Triangle
  • why # followed by a number seems do nothing in C plus plus
  • why do we need to export a class in c plus plus?
C-Plus-Plus list of languages used
More projects by TheAlgorithms View all
Other projects in C++