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