Skip to content

Collection of algorithms in multiple programming languages.

License

Notifications You must be signed in to change notification settings

anurag-majumdar/Algorithms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms Example

This repository contains examples of various algorithms which were written on different programming languages.

Implemented algorithms with languages:

Language Java Python Rust C C++ JavaScript Go C# Ruby Swift Racket Perl Crystal Kotlin Haskell
A*Search 👍 👍
BellmanFord 👍 👍
BestFirstSearch 👍 👍 👍
BinaryGCD 👍
BinarySearch 👍 👍 👍 👍 👍 👍 👍 👍 👍
Binary Search Modified 👍
Bitap Algorithm 👍 👍
BreadthFirstSearch 👍 👍 👍
Borwein's Algorithm 👍 👍 👍
BubbleSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Conjugate Gradient 👍
CountingSort 👍 👍 👍
CycleSort 👍 👍 👍
DepthFirstSearch 👍 👍 👍 👍
Dijkstra's 👍 👍 👍 👍
Dynamic programming 👍
Doomsday 👍 👍 👍 👍 👍 👍 👍
EditDistance 👍 👍
Edmonds-Karp 👍
ElevatorAlgorithm 👍
Fast Fourier Transform 👍 👍 👍 👍 👍
Fibonacci 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
FisherYatesShuffle 👍 👍 👍 👍 👍
FloodFill Algorithm 👍 👍
Floyd'sAlgorithm 👍 👍 👍
Greatest Common Divisor 👍 👍 👍 👍 👍
Hamming Distance 👍 👍 👍 👍 👍 👍
HeapSort 👍 👍 👍 👍 👍 👍 👍
Histogram equalization 👍
InsertionSort 👍 👍 👍 👍 👍 👍 👍 👍 👍
Inverse Fast Fourier Transform 👍
Johnson algorithm 👍 👍 👍
Kadane's algorithm 👍 👍 👍 👍 👍 👍
Knuth Morris Prath Algorithm 👍 👍 👍
LinearSearch 👍 👍 👍 👍 👍 👍 👍 👍 👍
Longest-Common-Subsequence 👍 👍 👍 👍 👍
Longest-Increasing-Subsequence 👍 👍 👍
LongestPath 👍
MergeSort 👍 👍 👍 👍 👍 👍 👍 👍
MiniMax with alpha–beta pruning 👍
Pearson Hashing 👍
Postman Sort 👍
Quick Sort 👍 👍 👍 👍 👍 👍 👍 👍 👍
Quick Select 👍 👍 👍 👍
Uniform-cost search 👍 👍 👍
RadixSort 👍 👍 👍
RobinCarp 👍
SelectionSort 👍 👍 👍 👍 👍 👍 👍 👍 👍
ShellSort 👍 👍 👍
Sieve of Eratosthenes 👍 👍 👍 👍 👍
UnaryCoding 👍 👍 👍
VEGAS Algorithm 👍
TernarySearch 👍 👍 👍 👍
Topological Sort 👍
Segmented Sieve 👍 👍 👍
Union Find 👍 👍 👍
Xor swap 👍 👍 👍 👍
Connected-component labeling 👍
Extended Euclidean algorithm 👍

List of Algorithms

Folder structure should be like this [Algorithm name]/[language]/file

For example:

  • BubbleSort/Go/BubbleSort.go
  • QuickSort/C++/QuickSort.cpp

License

Apache License 2.0

About

Collection of algorithms in multiple programming languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 27.1%
  • Java 25.3%
  • Python 17.9%
  • C 7.2%
  • JavaScript 6.8%
  • Swift 3.5%
  • Other 12.2%