Awesome Open Source
Awesome Open Source

Algorithms Example

DeepScan grade

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

Implemented algorithms with languages:

Language BrainFuck C C# C++ Crystal Go Haskell Java JavaScript Kotlin Perl Python Racket Ruby Rust Scala Swift
AStar Search 👍 👍
Bellman Ford 👍 👍 👍 👍 👍
Binary GCD 👍 👍 👍 👍 👍
Binary Search 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Bitap Algorithm 👍 👍
Bitonic Sort 👍 👍 👍
Bloom Filter 👍
Borweins Algorithm 👍 👍 👍
Bubble Sort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Cocktail Sort 👍 👍
Coin Change 👍
Conjugate Gradient 👍 👍
Connected Component Labeling 👍
Count Sort 👍
Counting Inversions 👍 👍 👍
Counting Sort 👍 👍 👍 👍 👍 👍
Cycle Sort 👍 👍 👍
Depth First Search 👍 👍 👍 👍 👍 👍
Diffie Hellman 👍 👍 👍
Dijkstras 👍 👍 👍 👍 👍 👍
Doomsday 👍 👍 👍 👍 👍 👍 👍 👍 👍
Dungeon Game 👍
Dynamic Programming 👍
Edit Distance 👍 👍 👍
Edmonds Karp 👍
Elevator Algorithm 👍
Extended Euclidean Algorithm 👍 👍
Factorial 👍 👍 👍 👍 👍 👍
Fast Fourier Transform 👍 👍 👍 👍 👍
Fenwick Tree 👍
Fibonacci 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Fisher Yates Shuffle 👍 👍 👍 👍 👍 👍 👍
Flood Fill 👍 👍 👍 👍
Floyds Algorithm 👍 👍 👍 👍 👍
Greatest Common Divisor 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Hamming Distance 👍 👍 👍 👍 👍 👍 👍
Heap Sort 👍 👍 👍 👍 👍 👍 👍 👍
Heavy Light Decomposition 👍
Histogram Equalization 👍
Insertion Sort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Johnson Algorithm 👍 👍
Kadanes 👍 👍 👍 👍 👍 👍 👍
Knapsack 👍 👍 👍
Knuth Morris Prath 👍 👍 👍
Kruskals Algorithm 👍 👍
Leaky Bucket 👍
Linear Search 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Longest Bitonic Subsequence 👍
Longest Common Subsequence 👍 👍 👍 👍 👍
Longest Increasing Subsequence 👍 👍 👍 👍
Longest Path 👍 👍
Longest Subset Zero Sum 👍
Matrix Exponentiation 👍
Merge Sort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Min Max ABPruning 👍
Minimax 👍 👍
Pearson Hashing 👍
Permutations 👍 👍 👍
Persistent Data Structures 👍
Postman Sort 👍
Primality Tests 👍 👍
Prims 👍
Prufer Code 👍
Quick Select 👍 👍 👍 👍
Quick Sort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Rabin Karp 👍 👍
Radix Sort 👍 👍 👍 👍
Segment Tree 👍
Segmented Sieve 👍 👍 👍
Selection Sort 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Sequence Alignment 👍
Shell Sort 👍 👍 👍 👍 👍
Sieveof Eratosthenes 👍 👍 👍 👍 👍 👍 👍
String To Token 👍
Strongly Connected Graph.cpp 👍
Swap 👍 👍 👍 :+1 👍 👍 👍 👍 👍
Tarjans Offline LCA 👍
Ternary Search 👍 👍 👍 👍 👍
Topological Sort 👍 👍 👍
Unary Coding 👍 👍 👍
Union Find 👍 👍 👍
VEGASAlgorithm 👍

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

Stargazers over time

Stargazers over time


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-plus-plus (17,930) 
hacktoberfest (4,195) 
algorithms (443) 
clustering-algorithm (21) 
search-algorithm (20) 

Find Open Source By Browsing 7,000 Topics Across 59 Categories

Advertising 📦 10
All Projects
Application Programming Interfaces 📦 124
Applications 📦 192
Artificial Intelligence 📦 78
Blockchain 📦 73
Build Tools 📦 113
Cloud Computing 📦 80
Code Quality 📦 28
Collaboration 📦 32
Command Line Interface 📦 49
Community 📦 83
Companies 📦 60
Compilers 📦 63
Computer Science 📦 80
Configuration Management 📦 42
Content Management 📦 175
Control Flow 📦 213
Data Formats 📦 78
Data Processing 📦 276
Data Storage 📦 135
Economics 📦 64
Frameworks 📦 215
Games 📦 129
Graphics 📦 110
Hardware 📦 152
Integrated Development Environments 📦 49
Learning Resources 📦 166
Legal 📦 29
Libraries 📦 129
Lists Of Projects 📦 22
Machine Learning 📦 347
Mapping 📦 64
Marketing 📦 15
Mathematics 📦 55
Media 📦 239
Messaging 📦 98
Networking 📦 315
Operating Systems 📦 89
Operations 📦 121
Package Managers 📦 55
Programming Languages 📦 245
Runtime Environments 📦 100
Science 📦 42
Security 📦 396
Social Media 📦 27
Software Architecture 📦 72
Software Development 📦 72
Software Performance 📦 58
Software Quality 📦 133
Text Editors 📦 49
Text Processing 📦 136
User Interface 📦 330
User Interface Components 📦 514
Version Control 📦 30
Virtualization 📦 71
Web Browsers 📦 42
Web Servers 📦 26
Web User Interface 📦 210