/Algorithms_Example

List of Algorithms

Primary LanguageC++Apache License 2.0Apache-2.0

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 πŸ‘ πŸ‘
Bitonic Sort πŸ‘ πŸ‘
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:

  • Bubble Sort/Go/BubbleSort.go
  • Quick Sort/C++/QuickSort.cpp

License

Apache License 2.0