Skip to content

anandragn/Algorithms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,073 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 28.0%
  • Java 24.9%
  • Python 15.3%
  • C 8.4%
  • JavaScript 6.4%
  • C# 4.1%
  • Other 12.9%