The Algorithms
Search any algorithm
About
Donate
Go
GitHub repository
undefined
Knapsack
More
Backtracking
Backtracking
Combination
More
Backtracking
Subset Sum
More
Bit Manipulation
Bit Manipulation
Reverse Bits
More
Checksum
Checksum
/
CRC
Crc 8
More
Ciphers
Ciphers
Base 64
More
Ciphers
Caesar
More
Ciphers
Xor
More
Ciphers
RSA
More
Ciphers
Rot 13
More
Ciphers
Transposition
More
Ciphers
Polybius
More
Ciphers
/
Diffiehellman
Diffiehellmankeyexchange
More
Conversions
Conversions
Decimal to Binary
+3
More
Conversions
Doc
More
Conversions
Integer To Roman
More
Conversions
Rgbhex
More
Conversions
Roman To Integer
More
Conversions
Binary to Decimal
+2
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Conversions
Doc
More
Data Structures
Data Structures
Dynamic Array
More
Data Structures
/
Stacks
Stack with Singly Linked List
+2
More
Data Structures
/
Stacks
Stack Array
More
Data Structures
Trie
More
Data Structures
/
Linked List
Queue Linked List
More
Data Structures
/
Binary Tree
Segment Tree
More
Data Structures
/
Binary Tree
AVL Tree
+1
More
Data Structures
/
Linked List
Singly Linked List
+1
More
Data Structures
/
Hash Map
/
Hashing
Hash Map
More
Data Structures
/
Graphs
Bfs
More
Data Structures
Graph
More
Data Structures
Graph
More
Data Structures
/
Linked List
Is Palindrome
More
Devutils
Devutils
/
Nodes
Node
More
Divide and Conquer
Divide and Conquer
Max Subarray Sum
More
Dynamic
Dynamic
Longestincreasingsubsequencegreedy
More
Dynamic Programming
Dynamic Programming
Fibonacci Numbers
+8
More
Dynamic Programming
Factorial
+8
More
Dynamic Programming
Catalan Number
More
Dynamic Programming
Floyd Warshall
More
Dynamic Programming
Longest Increasing Subsequence
More
Dynamic Programming
Longest Common Subsequence
More
Dynamic Programming
Fibonacci Numbers
+8
More
Dynamic Programming
Longest Palindromic Subsequence
More
Dynamic Programming
Rod Cutting
More
Dynamic Programming
Edit Distance
+3
More
Graphs
Graphs
Topological
More
Graphs
Articulation Points
More
Graphs
Dijkstra
+1
More
Graphs
Kruskal
More
Graphs
Bellman Ford
+1
More
Graphs
/
Coloring
Backtracking
More
Graphs
/
Coloring
Bipartite
More
Graphs
Depth First Search
+3
More
Graphs
Breadth First Search
+2
More
Hashing
Hashing
Luhn
More
Hashing
Sha 256
More
Math
Math
Pascal Triangle
More
Math
Abs
+2
More
Math
/
Prime
Millerrabinprimalitytest
More
Math
Prime Check
+2
More
Math
/
Prime
Sieve
More
Math
Prime Factorization
More
Math
/
Moserdebruijnsequence
Sequence
More
Math
/
PI
Montecarlopi
More
Math
/
PI
Spigotpi
More
Math
Pythagoras
More
Math
/
Power
Powvialogarithm
More
Math
/
Power
Fastexponent
More
Math
Checkisnumberpoweroftwo
More
Math
GCD
More
Math
/
Gcd
Extendedgcditerative
More
Math
/
Gcd
Extendedgcd
More
Math
/
Gcd
Gcditerative
More
Math
/
Gcd
Extended
More
Math
/
Binary
Bitcounter
More
Math
/
Binary
Rbc
More
Math
Abs
+2
More
Math
Checkisnumberpoweroftwo
More
Math
/
Binary
Xorsearch
More
Math
/
Series
Arithmetic Mean
More
Math
Eulertotient
More
Math
Min
More
Math
/
Min
Bitwisemin
More
Math
Max
More
Math
/
Max
Bitwisemax
More
Math
/
Permutation
Heaps
More
Math
/
Modular
Exponentiation
More
Math
/
Modular
Inverse
More
Math
/
Geometry
Straightlines
More
Math
Matrix Multiplication
More
Math
Binomial Coefficient
More
Others
Others
Is Armstrong
More
Others
Lcm
More
Others
Greedy
More
Others
Nested Brackets
More
Others
/
Password
Generator
More
Others
KMP
More
Others
Boyer Moore
More
Others
Catalan
More
Searches
Searches
Ternary
More
Searches
Binary
More
Searches
Interpolation
More
Searches
Testcases
More
Searches
Linear
More
Searches
Selectk
More
Searches
Errors
More
Searches
Jump 2
More
Searches
Jump
More
Sorts
Sorts
Insertion Sort
+15
More
Sorts
Bubble Sort
+16
More
Sorts
Radix Sort
+8
More
Sorts
Comb Sort
+8
More
Sorts
Heap Sort
+13
More
Sorts
Exchange Sort
More
Sorts
Merge Sort
+17
More
Sorts
Quick Sort
+17
More
Sorts
Counting Sort
+5
More
Sorts
Simple Sort
More
Sorts
Pigeonhole Sort
More
Sorts
Shell Sort
+7
More
Sorts
Selection Sort
+12
More
Strings
Strings
Generateparentheses
More
Strings
/
Manacher
Longestpalindrome
More
Strings
/
Pangram
Ispangram
More
Strings
Levenshtein Distance
More
Strings
Genetic
More
Strings
Bom
More
Strings
/
Aho-Corasick
Advancedahocorasick
More
Strings
Aho Corasick
More
Strings
Horspool
More
Strings
/
Searches
Naive
More
Structure
Structure
Set
More
Structure
/
Binary Search Tree
Bstree
More
Structure
/
Stacks
Stack Linked List with List
More
Structure
/
Queues
Queuearray
More
Structure
/
Queues
Queuelinklistwithlist
More
Structure
/
Linked List
Shared
More
Structure
/
Linked List
Cyclic
More
Structure
/
Linked List
Doubly
More
Structure
/
Linked List
Shared
More
© The Algorithms 2021
What is an algorithm?
About us
Programming Languages
Contribute
Donate
Contact
GitHub
Gitter
Twitter
Source code
Analytics