Skip to content

punndcoder28/Algorithms

 
 

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 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
BubbleSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
LinearSearch 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
InsertionSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
QuickSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
BinarySearch 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
MergeSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
GreatestCommonDivisor 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
SelectionSort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Doomsday 👍 👍 👍 👍 👍 👍 👍 👍 👍
HeapSort 👍 👍 👍 👍 👍 👍 👍 👍
XorSwap 👍 👍 👍 👍 👍 👍 👍 👍
Factorial 👍 👍 👍 👍 👍 👍 👍
HammingDistance 👍 👍 👍 👍 👍 👍 👍
Kadanes 👍 👍 👍 👍 👍 👍 👍
FisherYatesShuffle 👍 👍 👍 👍 👍 👍 👍
LongestCommonSubsequence 👍 👍 👍 👍 👍 👍
Dijkstras 👍 👍 👍 👍 👍 👍
CountingSort 👍 👍 👍 👍 👍 👍
DepthFirstSearch 👍 👍 👍 👍 👍
FastFourierTransform 👍 👍 👍 👍 👍
FloydsAlgorithm 👍 👍 👍 👍 👍
RadixSort 👍 👍 👍 👍 👍
TernarySearch 👍 👍 👍 👍 👍
BellmanFord 👍 👍 👍 👍 👍
BinaryGCD 👍 👍 👍 👍 👍
ShellSort 👍 👍 👍 👍 👍
ExtendedEuclidean 👍 👍 👍 👍
SegmentedSieve 👍 👍 👍 👍
BreadthFirstSearch 👍 👍 👍 👍
FloodFill 👍 👍 👍 👍
LongestIncreasingSubsequence 👍 👍 👍 👍
UnaryCoding 👍 👍 👍 👍
QuickSelect 👍 👍 👍 👍
SieveOfEratosthenes 👍 👍 👍 👍
BitonicSort 👍 👍 👍
PrimeCheck 👍 👍 👍
SieveofEratosthenes 👍 👍 👍
Swap 👍 👍 👍
UnionFind 👍 👍 👍
BorweinsAlgorithm 👍 👍 👍
CountingInversions 👍 👍 👍
CycleSort 👍 👍 👍
EditDistance 👍 👍 👍
KnuthMorrisPrath 👍 👍 👍
Permutations 👍 👍 👍
RabinKarp 👍 👍 👍
TopologicalSort 👍 👍 👍
DiffieHellman 👍 👍 👍
knapsack 👍 👍
AStarSearch 👍 👍
BitapAlgorithm 👍 👍
CocktailSort 👍 👍
ConjugateGradient 👍 👍
JohnsonAlgorithm 👍 👍
Knapsack 👍 👍
KruskalsAlgorithm 👍 👍
LongestPath 👍 👍
Minimax 👍 👍
BestFirstSearch 👍 👍
ConnectedComponentLabeling 👍
LeakyBucket 👍
PostmanSort 👍
BinaryTree 👍
CoinChange 👍
Combination 👍
DungeonGame 👍
EulerToient 👍
FenwickTree 👍
HeavyLightDecomposition 👍
InFixToPostFix 👍
InverseFastFourierTransform 👍
JosephusProblem 👍
LongestBitonicSubsequence 👍
LongestSubsetZeroSum 👍
MatrixExponentiation 👍
ModifiedBinarySearch 👍
PersistentDataStructures 👍
PrimalityTests 👍
Prims 👍
PruferCode 👍
SegmentTree 👍
SequenceAlignment 👍
StringToToken 👍
StronglyConnectedGraph 👍
TarjansOfflineLCA 👍
VEGASAlgorithm 👍
Cocktailshakersort 👍
DynamicProgramming 👍
EdmondsKarp 👍
ElevatorAlgorithm 👍
HistogramEqualization 👍
MinMaxABPruning 👍
PearsonHashing 👍
RodCuttingAlgorithm 👍
PartialSort 👍
AhoCorasick 👍
BloomFilter 👍
Luhn 👍
Sumset 👍

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

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 31.0%
  • Java 19.7%
  • Python 14.6%
  • JavaScript 9.4%
  • C 6.6%
  • Swift 4.1%
  • Other 14.6%