The Algorithms
Search any algorithm
About
Donate
C
GitHub repository
Documentation
Audio
Audio
Alaw
More
Backtracking
Backtracking
Sudoku Solver
+1
More
Ciphers
Ciphers
Affine
More
Ciphers
Rot 13
More
Client Server
Client Server
Client
More
Client Server
Remote Command Exec Udp Client
More
Client Server
Remote Command Exec Udp Server
More
Client Server
Server
More
Client Server
Tcp Full Duplex Client
More
Client Server
Tcp Full Duplex Server
More
Client Server
Tcp Half Duplex Client
More
Client Server
Tcp Half Duplex Server
More
Client Server
Udp Client
More
Client Server
Udp Server
More
Compression
Compression
Run Length Encoding
More
Conversions
Conversions
Binary to Decimal
+3
More
Conversions
Binary to Hexadecimal
More
Conversions
Binary to Octal
More
Conversions
C Atoi Str to Integer
More
Conversions
Celsius to Fahrenheit
More
Conversions
Decimal To Any Base
More
Conversions
Decimal to Binary
+4
More
Conversions
Decimal to Binary Recursion
More
Conversions
Decimal to Hexa
More
Conversions
Decimal to Octal
More
Conversions
Decimal to Octal Recursion
More
Conversions
Hexadecimal to Octal
More
Conversions
Hexadecimal to Octal 2
More
Conversions
Infix to Postfix 2
More
Conversions
Int to String
More
Conversions
Octal to Binary
More
Conversions
Octal to Decimal
More
Conversions
Octal to Hexadecimal
More
Conversions
Roman Numerals to Decimal
More
Conversions
To Decimal
More
Data Structures
Data Structures
/
Array
Carray
More
Data Structures
/
Binary Tree
AVL Tree
+2
More
Data Structures
/
Binary Tree
Binary Search Tree
+3
More
Data Structures
/
Binary Tree
Create Node
More
Data Structures
/
Binary Tree
Recursive Traversals
More
Data Structures
/
Binary Tree
Red Black Tree
More
Data Structures
/
Binary Tree
Segment Tree
+3
More
Data Structures
/
Binary Tree
Threaded Binary Trees
More
Data Structures
/
Binary Tree
Words Alphabetical
More
Data Structures
/
Dictionary
Dict
More
Data Structures
Dynamic Array
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
/
Graphs
Bfs
More
Data Structures
/
Graphs
Bfs Queue
More
Data Structures
/
Graphs
Dfs
More
Data Structures
/
Graphs
Dfs Recursive
More
Data Structures
/
Graphs
Euler
More
Data Structures
Graph
More
Data Structures
/
Graphs
Hamiltonian
More
Data Structures
Queue
+1
More
Data Structures
/
Graphs
Transitive Closure
More
Data Structures
Hash Set
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
/
Heap
Max Heap
More
Data Structures
/
Heap
Min Heap
More
Data Structures
/
Linked List
Ascending Priority Queue
More
Data Structures
/
Linked List
Circular Doubly Linked List
More
Data Structures
/
Linked List
Circular Linked List
More
Data Structures
/
Linked List
Doubly Linked List
+4
More
Data Structures
/
Linked List
Merge Linked Lists
More
Data Structures
/
Linked List
Middle Element in List
More
Data Structures
/
Linked List
Queue Linked List
More
Data Structures
/
Linked List
Singly Link List Deletion
More
Data Structures
/
Stacks
Stack with Singly Linked List
+3
More
Data Structures
List
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
Queue
+1
More
Data Structures
Stack
+3
More
Data Structures
/
Stacks
Dynamic Stack
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
/
Stacks
Parenthesis
More
Data Structures
Stack
+3
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
Stack
+3
More
Data Structures
Trie
More
Data Structures
Vector
More
Data Structures
/
Hashing
/
Number Theory
Prime
+8
More
Data Structures
/
Stacks
Postfix Evaluation
More
Developer Tools
Developer Tools
Malloc Dbg
More
Divide and Conquer
Divide and Conquer
Mergesort
+19
More
Dynamic Programming
Dynamic Programming
Floyd Warshall
+3
More
Dynamic Programming
Lcs
More
Dynamic Programming
Matrix Chain Order
More
Dynamic Programming
Factorial
+12
More
Dynamic Programming
Fibonacci Numbers
+11
More
Exercism
Exercism
Acronym
More
Exercism
Hello World
More
Exercism
Isogram
More
Exercism
Rna Transcription
More
Exercism
Word Count
More
Games
Games
Hangman
More
Games
Naval Battle
More
Games
Tic Tac Toe
More
Geometry
Geometry
Quaternions
More
Geometry
Vectors 3d
More
Graphics
Graphics
Spirograph
More
Graphs
Graphs
Bellman Ford
+3
More
Graphs
Dijkstra
+3
More
Graphs
Kruskal
More
Graphs
Strongly Connected Components
More
Graphs
Dijkstra
+3
More
Graphs
Prim
More
Hashing
Hashing
Hash Adler 32
More
Hashing
Hash Blake 2b
More
Hashing
Hash Crc 32
More
Hashing
Hash Djb 2
More
Hashing
SDBM
More
Hashing
Hash Xor 8
More
Machine Learning
Machine Learning
Adaline Learning
More
Machine Learning
K Means Clustering
More
Machine Learning
Kohonen Som Topology
More
Machine Learning
Kohonen Som Trace
More
Math
Math
/
Special Numbers
Armstrong Number
+8
More
Math
Cantor Set
More
Math
Cartesian to Polar
More
Math
Catalan
More
Math
Collatz
More
Math
Euclidean Algorithm Extended
More
Math
Factorial Large Number
More
Math
Factorial Trailing Zeroes
More
Math
Fibonacci Dp
More
Math
Fibonacci Fast
More
Math
Fibonacci Formula
More
Math
GCD
More
Math
/
Special Numbers
Armstrong Number
+8
More
Math
Large Factorials
More
Math
LCM
+2
More
Math
Lerp
More
Math
Prime Factoriziation
More
Math
Prime Sieve
More
Math
Strong Number
More
Math
Bisection Method
More
Math
Median
More
Math
Qr Decomposition
More
Math
Realtime Stats
More
Math
/
Numerical Analysis
Secant Method
More
Numerical Methods
Numerical Methods
Durand Kerner Roots
More
Numerical Methods
Gauss Elimination
More
Numerical Methods
Gauss Seidel Method
More
Numerical Methods
Lagrange Theorem
More
Numerical Methods
Lu Decompose
More
Numerical Methods
Mean
More
Numerical Methods
Newton Raphson Root
More
Numerical Methods
Ode Forward Euler
More
Numerical Methods
Ode Midpoint Euler
More
Numerical Methods
Ode Semi Implicit Euler
More
Numerical Methods
Qr Eigen Values
More
Numerical Methods
Simpsons 1 3rd Rule
More
Numerical Methods
Variance
More
Others
Others
Demonetization
More
Others
Lexicographic Permutations
More
Others
Longest Subsequence
More
Others
Mcnaughton Yamada Thompson
More
Others
Mirror
More
Others
Pid
More
Others
Poly Add
More
Others
Quartile
More
Others
Rselect
More
Others
Shunting Yard
More
Others
Tower of Hanoi
+1
More
Process Scheduling Algorithms
Process Scheduling Algorithms
Non Preemptive Priority Scheduling
More
Searches
Searches
Union Find
+1
More
Searches
Binary Search
+15
More
Searches
Exponential Search
More
Searches
Fibonacci Search
+4
More
Searches
Floyd Cycle Detection Algorithm
More
Searches
Interpolation Search
+6
More
Searches
Jump Search
+8
More
Searches
Linear Search
+14
More
Searches
Modified Binary Search
More
Searches
Other Binary Search
More
Searches
/
Pattern Search
Naive Search
More
Searches
/
Pattern Search
Rabin Karp Search
More
Searches
Sentinel Linear Search
More
Searches
Ternary Search
+5
More
Sorts
Sorts
Topological Sort
+1
More
Sorts
Bead Sort
+2
More
Sorts
Binary Insertion Sort
+4
More
Sorts
Bogo Sort
+7
More
Sorts
Bubble Sort
+19
More
Sorts
Bubble Sort 2
More
Sorts
Bubble Sort Recursion
More
Sorts
Bucket Sort
+5
More
Sorts
Cocktail Sort
+2
More
Sorts
Comb Sort
+8
More
Sorts
Counting Sort
+8
More
Sorts
Cycle Sort
+5
More
Sorts
Gnome Sort
+7
More
Sorts
Heap Sort
+15
More
Sorts
Heap Sort 2
More
Sorts
Insertion Sort
+18
More
Sorts
Insertion Sort Recursive
More
Sorts
Merge Sort Nr
More
Sorts
Multikey Quick Sort
More
Sorts
Odd Even Sort
+1
More
Sorts
Pancake Sort
+6
More
Sorts
Partition Sort
More
Sorts
Patience Sort
More
Sorts
Pigeonhole Sort
+2
More
Sorts
Quick Sort
+19
More
Sorts
Radix Sort
+9
More
Sorts
Radix Sort 2
More
Sorts
Random Quick Sort
More
Sorts
Selection Sort
+14
More
Sorts
Selection Sort Recursive
More
Sorts
Shaker Sort
More
Sorts
Shell Sort
+9
More
Sorts
Shell Sort 2
More
Sorts
Stooge Sort
+1
More
Stacks
Stacks
Infix To Postfix
More
Strings
Strings
Palindrome
+2
More
Strings
Hamming Distance
+4
More
Strings
Boyer Moore Search
More
© The Algorithms 2023
What is an algorithm?
About us
Programming Languages
Contribute
Donate
GitHub
Gitter
X
Source code
Contact