thuva4 / Algorithms

Collection of algorithms in multiple programming languages.
https://thuva4.github.io/Algorithms/
Apache License 2.0
487 stars 545 forks source link
algorithms algorithms-implemented clustering-algorithm fast-algorithm hacktoberfest multiple-algorithms search-algorithm

Algorithms Example

DeepScan grade

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

Implemented algorithms with languages:

Language C++ Python Java JavaScript C Go C# Ruby Swift Scala Haskell Kotlin Rust Perl BrainFuck Crystal Racket
Fibonacci :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
BubbleSort :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
LinearSearch :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
InsertionSort :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
QuickSort :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
BinarySearch :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
MergeSort :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
GreatestCommonDivisor :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
SelectionSort :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
Doomsday :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
HeapSort :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
XorSwap :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:
Factorial :+1: :+1: :+1: :+1: :+1: :+1: :+1:
HammingDistance :+1: :+1: :+1: :+1: :+1: :+1: :+1:
Kadanes :+1: :+1: :+1: :+1: :+1: :+1: :+1:
FisherYatesShuffle :+1: :+1: :+1: :+1: :+1: :+1: :+1:
LongestCommonSubsequence :+1: :+1: :+1: :+1: :+1: :+1:
Dijkstras :+1: :+1: :+1: :+1: :+1: :+1:
CountingSort :+1: :+1: :+1: :+1: :+1: :+1:
DepthFirstSearch :+1: :+1: :+1: :+1: :+1:
FastFourierTransform :+1: :+1: :+1: :+1: :+1:
FloydsAlgorithm :+1: :+1: :+1: :+1: :+1:
RadixSort :+1: :+1: :+1: :+1: :+1:
TernarySearch :+1: :+1: :+1: :+1: :+1:
BellmanFord :+1: :+1: :+1: :+1: :+1:
BinaryGCD :+1: :+1: :+1: :+1: :+1:
ShellSort :+1: :+1: :+1: :+1: :+1:
ExtendedEuclidean :+1: :+1: :+1: :+1:
SegmentedSieve :+1: :+1: :+1: :+1:
BreadthFirstSearch :+1: :+1: :+1: :+1:
FloodFill :+1: :+1: :+1: :+1:
LongestIncreasingSubsequence :+1: :+1: :+1: :+1:
UnaryCoding :+1: :+1: :+1: :+1:
QuickSelect :+1: :+1: :+1: :+1:
SieveOfEratosthenes :+1: :+1: :+1: :+1:
BitonicSort :+1: :+1: :+1:
PrimeCheck :+1: :+1: :+1:
SieveofEratosthenes :+1: :+1: :+1:
Swap :+1: :+1: :+1:
UnionFind :+1: :+1: :+1:
BorweinsAlgorithm :+1: :+1: :+1:
CountingInversions :+1: :+1: :+1:
CycleSort :+1: :+1: :+1:
EditDistance :+1: :+1: :+1:
KnuthMorrisPrath :+1: :+1: :+1:
Permutations :+1: :+1: :+1:
RabinKarp :+1: :+1: :+1:
TopologicalSort :+1: :+1: :+1:
DiffieHellman :+1: :+1: :+1:
knapsack :+1: :+1:
AStarSearch :+1: :+1:
BitapAlgorithm :+1: :+1:
CocktailSort :+1: :+1:
ConjugateGradient :+1: :+1:
JohnsonAlgorithm :+1: :+1:
Knapsack :+1: :+1:
KruskalsAlgorithm :+1: :+1:
LongestPath :+1: :+1:
Minimax :+1: :+1:
BestFirstSearch :+1: :+1:
ConnectedComponentLabeling :+1:
LeakyBucket :+1:
PostmanSort :+1:
BinaryTree :+1:
CoinChange :+1:
Combination :+1:
DungeonGame :+1:
EulerToient :+1:
FenwickTree :+1:
HeavyLightDecomposition :+1:
InFixToPostFix :+1:
InverseFastFourierTransform :+1:
JosephusProblem :+1:
LongestBitonicSubsequence :+1:
LongestSubsetZeroSum :+1:
MatrixExponentiation :+1:
ModifiedBinarySearch :+1:
PersistentDataStructures :+1:
PrimalityTests :+1:
Prims :+1:
PruferCode :+1:
SegmentTree :+1:
SequenceAlignment :+1:
StringToToken :+1:
StronglyConnectedGraph :+1:
TarjansOfflineLCA :+1:
VEGASAlgorithm :+1:
Cocktailshakersort :+1:
DynamicProgramming :+1:
EdmondsKarp :+1:
ElevatorAlgorithm :+1:
HistogramEqualization :+1:
MinMaxABPruning :+1:
PearsonHashing :+1:
RodCuttingAlgorithm :+1:
PartialSort :+1:
AhoCorasick :+1:
BloomFilter :+1:
Luhn :+1:
Sumset :+1:

List of Algorithms

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

License

Apache License 2.0