List of data structures and algorithms. Feel free to contribute under Hacktoberfest '18!
Branch: master
Clone or download
Latest commit ac97dbe Oct 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
1.linked list Add files via upload Oct 31, 2018
2.stacks Add files via upload Oct 31, 2018
3.Binary Tree Add files via upload Oct 31, 2018
4.BST Add files via upload Oct 31, 2018
5.Heap-PriorityQ Add files via upload Oct 31, 2018
Graphs Add files via upload Oct 31, 2018
Racket palindrome checker Oct 31, 2018
c NQueens: Put N number of Quuens in a Chess Board Oct 31, 2018
cpp Create ppbra.cpp Oct 31, 2018
csharp Added string reverse in C# Oct 31, 2018
dart Added Merge Sort in dart/algorithms Oct 5, 2018
edition/2017 Add 'edition/2017/' from commit '23a4e980f9dacce2c9624f50391bf60832f8… Oct 2, 2018
erlang/algorithms Add quicksort and mergesort in Erlang Oct 8, 2018
go Update go/algorithms/selection_sort.go Oct 31, 2018
haskell added binarySearch.hs Oct 31, 2018
java Added code for target sum Oct 31, 2018
javascript Update validParentheses.js Oct 31, 2018
kotlin Add Kotlin LinkedList Oct 31, 2018
linear_search Added Stack_DynamicArray Oct 31, 2018
nim/algorithms sorting nim and ruby files Oct 4, 2018
php Create quicksort.php Oct 31, 2018
python Add Oct 31, 2018
ruby/algorithms Add merge sort algorithm in Ruby Oct 31, 2018
rust add rust/! :D Oct 31, 2018
swift/algorithms Create kruskal.swift Oct 31, 2018
.gitignore Added Stack_DynamicArray Oct 31, 2018
2018201023_5.cpp Add files via upload Oct 31, 2018 Update Oct 2, 2018 added a space in the repo Oct 8, 2018
inerpolation_string.cpp Add files via upload Oct 31, 2018
np.cpp Add files via upload Oct 18, 2018
pr.cpp Adding pr.cpp Oct 1, 2018
server.js server.js included Oct 1, 2018
tre.cpp Added tree program in c++ Oct 18, 2018

Data Structures and Algorithms

For Hacktoberfest 2018!

Check your own profile stats after registering here:


This Repo consists of data-structures and algorithms sorted by programming language.

Contributing Guidelines

  • The repository is structured language-wise i.e. algorithms in a certain language go in a specific folder.
  • The naming convention to be followed is algo_name.language_extention i.e. the overall pathshould be language/algo_name.language_extention
  • Example of above points: heap sort in Java should go into java/
  • It is your choice to include only the function or the entire program for the algo.
  • If folder for your language does not exist, create a new one.
  • Don't be afraid to make a PR!

How to make PR

  1. Fork Repo onto your own account.
  2. Make your changes on your forked repo.
  3. Make Pull Request to master and enjoy.

Hack on! God Speed