Awesome Open Source
Awesome Open Source



This repo is a conglomeration of algorithms for competitive programming, data structure, sorting and related areas. It currently features C/C++, Python and some Java implementations. It contains many advanced algorithms like greedy, graph traversal algorithms, including Dijkstra's algorithm and Floyd Warshal algorithm, and data structures like queues, stacks, and binary search trees.

Use this repo to study or review your knowledge and don't forget to star and collaborate!


Search Algorithms

  • Linear Search
  • binary search
  • Ternary search

Sorting Algorithms

  • Bubble Sort
  • Selection Sort
  • Insertion sort
  • Merge sort
  • Quick sort
  • Radix sort
  • Bogo sort

Shortest Path Algorithms

  • Dijkstra
  • Floyd Warshall

Common Data Structures

  • heap
  • queue
  • stack
  • Array
  • Linked List

Languages Used:

  • C/C++
  • Python
  • Java
  • More to come

How to contribute:

Please comment your code thoroughly as to make it possible for anyone to understand. If possible, check your code using unit tests. Avoid all the bad implementations, make your code as clean as possible. After that, find the folder that fits the category of your code and submit a PR. Star this repo if the information here is useful to you.

Please have a look at these :

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-plus-plus (17,944
cpp (1,293
algorithms-datastructures (15

Find Open Source By Browsing 7,000 Topics Across 59 Categories