GitHub - Mohit-Chandra/Algorithms: Collection of algorithms in multiple programming languages. · GitHub
Skip to content

Mohit-Chandra/Algorithms

 
 

Folders and files

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 👍 👍
BitonicSort 👍
BreadthFirstSearch 👍 👍 👍
Borwein's Algorithm 👍 👍 👍
BubbleSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Conjugate Gradient 👍 👍
CountingInversions 👍 👍
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 👍 👍 👍
Leaky-Bucket 👍
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 👍 👍 👍
Rabin-Karp 👍 👍
SelectionSort 👍 👍 👍 👍 👍 👍 👍 👍 👍
SelectionSort (Descending) 👍
ShellSort 👍 👍 👍 👍
Sieve of Eratosthenes 👍 👍 👍 👍 👍
UnaryCoding 👍 👍 👍
VEGAS Algorithm 👍
Tarjan'sOff-LineLCA 👍
TernarySearch 👍 👍 👍 👍
Topological Sort 👍
Segmented Sieve 👍 👍 👍
Union Find 👍 👍 👍
Xor swap 👍 👍 👍 👍 👍 👍
Connected-component labeling 👍
Extended Euclidean algorithm 👍
Knapsack problem 👍

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

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • C++ 27.8%
  • Java 25.8%
  • Python 17.6%
  • C 7.1%
  • JavaScript 6.9%
  • Swift 3.5%
  • Other 11.3%