The Algorithms
Search any algorithm
About
Donate
PHP
GitHub repository
Ciphers
Ciphers
Atbash Cipher
More
Ciphers
Caesar Cipher
More
Ciphers
Mono Alphabetic Cipher
More
Ciphers
Morse Code
More
Ciphers
Rail Fence Cipher
More
Ciphers
Vignere Cipher
More
Ciphers
XOR Cipher
+3
More
Conversions
Conversions
Binary to Decimal
+4
More
Conversions
Decimal to Binary
+5
More
Conversions
Hexadecimal to Decimal
More
Conversions
Octal to Decimal
More
Conversions
Speed Conversion
More
Conversions
Temperature Conversions
More
Data Structures
Data Structures
/
Binary Tree
AVL Tree
+4
More
Data Structures
/
AVL Tree
AVL Tree Node
More
Data Structures
/
AVL Tree
Tree Traversal
More
Data Structures
/
Binary Search Tree
BST Node
More
Data Structures
/
Binary Search Tree
Duplicate Key Exception
More
Data Structures
Disjoint Set
More
Data Structures
/
Disjoint Set
Disjoint Set Node
More
Data Structures
/
Linked List
Doubly Linked List
+5
More
Data Structures
Node
More
Data Structures
Queue
+3
More
Data Structures
/
Binary Tree
Segment Tree
+4
More
Data Structures
/
Segment Tree
Segment Tree Node
More
Data Structures
/
Linked List
Singly Linked List
+3
More
Data Structures
/
Tree
Splay Tree
More
Data Structures
/
Splay Tree
Splay Tree Node
More
Data Structures
/
Splay Tree
Splay Tree Rotations
More
Data Structures
Stack
+4
More
Data Structures
Trie
+3
More
Data Structures
/
Trie
Trie Node
More
Data Structures
/
Hashing
/
Number Theory
Prime
+8
More
Divide and Conquer
Divide and Conquer
Mergesort
+19
More
Dynamic Programming
Dynamic Programming
Factorial
+13
More
Dynamic Programming
Fibonacci Numbers
+12
More
Graphs
Graphs
Bellman Ford
+4
More
Graphs
Breadth First Search
+3
More
Graphs
Depth First Search
+4
More
Math
Math
Absolute Max
More
Math
Absolute Min
More
Math
/
Special Numbers
Armstrong Number
+8
More
Math
Base X
More
Math
Check Even
More
Math
Check Odd
More
Math
Eratosthenes Sieve
More
Math
Fast Exponentiation
More
Math
Fast Inverse Square Root
More
Math
Fibonacci 2
More
Math
Greatest Common Divisor
More
Math
Median
More
Math
Mode
More
Math
Neon Number
More
Math
Perfect Number
+7
More
Math
Perfect Square
+3
More
Math
/
Geometry
Distance
More
Numerical Methods
Numerical Methods
Mean
More
Others
Others
Two Pointers
More
Searches
Searches
Binary Tree Traversal
More
Searches
Binary Search
+15
More
Searches
Exponential Search
+2
More
Searches
Fibonacci Search
+5
More
Searches
Interpolation Search
+6
More
Searches
Jump Search
+8
More
Searches
Linear Search
+14
More
Searches
Lower Bound
More
Searches
Sentinel Search
More
Searches
Ternary Search
+5
More
Searches
Upper Bound
More
Sorts
Sorts
Array Keys Sort
More
Sorts
Bubble Sort
+19
More
Sorts
Bubble Sort 2
More
Sorts
Count Sort
More
Sorts
Gnome Sort
+8
More
Sorts
Heap Sort
+15
More
Sorts
Insertion Sort
+18
More
Sorts
Quick Sort
+19
More
Sorts
Radix Sort
+9
More
Sorts
Selection Sort
+14
More
Sorts
Shell Sort
+10
More
Strings
Strings
Check Palindrome
More
Strings
Check Anagram
+2
More
Strings
Check Palindrome
More
Strings
Check Palindrome 2
More
Strings
Count Consonants
More
Strings
Count Homogenous
More
Strings
Count Sentences
More
Strings
Count Vowels
More
Strings
Max Character
More
Strings
Reverse String
More
Strings
Reverse Words
More
Structure
Structure
/
Tree
Bstree
More
Utils
Utils
Array Helpers
More
Utils
Execution Time
More
© The Algorithms 2024
What is an algorithm?
About us
Programming Languages
Contribute
Donate
GitHub
Gitter
X
Source code
Contact