Skip to content

Collection of algorithms in multiple programming languages.

License

Notifications You must be signed in to change notification settings

jescascela/Algorithms

 
 

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 👍 👍
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 [language]/[Algorithm name]/file

For example:

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

License

Apache License 2.0

About

Collection of algorithms in multiple programming languages.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 27.5%
  • Java 25.2%
  • Python 15.4%
  • C 8.4%
  • JavaScript 6.5%
  • C# 4.1%
  • Other 12.9%