Awesome Open Source
Awesome Open Source


Say Thanks! Open Source Love contributions welcome Join the chat at Number of Algorithms

Data Structures and Algorithms Tweet

Clean example implementations of data structures and algorithms written in different languages.

List of implementations

Algorithms list


  • Contributions are always welcome. Language doesn't matter. Just make sure you're implementing an algorithm.

  • PRs are welcome. To begin developing, follow the structure:

    algorithm_name/language-name/file_name.extension e.g bubble_sort/python/

  • If there is an implementation of the same algorithm in your language, add your username in front of the file name. E.g., if the already existing algorithm is binary_sort and your user name is my_name, just name the new file as 'my_name_binary_sort'.

  • Please include a description for the algorithm that you are implementing. It doesn't matter if it's copied from somewhere as long as it helps people that are learning new algorithm.

  • Graphical examples would be very helpful too.

  • Don't forget to include tests.

  • Don't remove previous implementations of algorithms. Just add a new file with your own implementation.

  • Beautify and cleanup your code for easier reading.


Curated list of resources dealing with algorithms.



To the extent possible under law, Zoran Pandovski has waived all copyright and related or neighboring rights to this work.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,533,979
Python (1,142,368
Java (697,034
Php (394,997
C Sharp (276,629
C (274,522
Jupyter Notebook (241,590
Go (198,009
Rust (66,675
Scala (38,861
Hacktoberfest (37,964
Golang (33,512
Cpp (16,349
Algorithms (10,932
Data Structures (6,415
Hacktoberfest2021 (4,894
Cryptography (3,596
Computer Science (1,509
Interview (1,168
Algorithms And Data Structures (1,017
Related Projects