The Algorithms
Search any algorithm
About
Donate
Java
GitHub repository
undefined
MinimizingLateness
More
Audio Filters
Audio Filters
Iir Filter
More
Backtracking
Backtracking
Subset Sum
More
Backtracking
KnightsTour
More
Backtracking
PowerSum
More
Backtracking
N Queens
More
Backtracking
Sudoku
More
Ciphers
Ciphers
Caesar
More
Ciphers
AES
More
Ciphers
Hill Cipher
More
Ciphers
Affine Cipher
More
Ciphers
Affine Cipher
More
Ciphers
RSA
More
Ciphers
ColumnarTranspositionCipher
More
Ciphers
AESEncryption
More
Ciphers
Vigenere
More
Ciphers
Simple Substitution Cipher
More
Ciphers
ProductCipher
More
Ciphers
simpleSubCipher
More
Conversions
Conversions
AnyBaseToAnyBase
More
Conversions
AnyBaseToDecimal
More
Conversions
HexToOct
More
Conversions
Binary to Hexadecimal
More
Conversions
TurkishToLatinConversion
More
Conversions
Octal to Decimal
More
Conversions
Binary to Octal
More
Conversions
RomanToInteger
More
Conversions
Hexadecimal to Decimal
More
Conversions
Decimal to Binary
+2
More
Conversions
OctalToHexadecimal
More
Conversions
Decimal to Octal
More
Conversions
HexaDecimalToBinary
More
Conversions
IntegerToRoman
More
Conversions
DecimalToAnyBase
More
Conversions
Rgb Hsv Conversion
More
Conversions
Binary to Decimal
+2
More
Conversions
Decimal to Hexadecimal
More
Conversions
AnytoAny
More
Data Structures
Data Structures
/
Stacks
NodeStack
More
Data Structures
/
Stacks
InfixToPostfix
More
Data Structures
/
Stacks
MaximumMinimumWindow
More
Data Structures
/
Stacks
StackOfLinkedList
More
Data Structures
/
Stacks
DecimalToAnyUsingStack
More
Data Structures
/
Stacks
BalancedBrackets
More
Data Structures
/
Stacks
ReverseStack
More
Data Structures
/
Stacks
StackArrayList
More
Data Structures
/
Stacks
StackArray
More
Data Structures
/
Heap
Max Heap
More
Data Structures
/
Heaps
EmptyHeapException
More
Data Structures
/
Heaps
HeapElement
More
Data Structures
/
Heap
MinPriorityQueue
More
Data Structures
/
Heap
Min Heap
More
Data Structures
Heap
More
Data Structures
/
Cache
MRUCache
More
Data Structures
/
Tree
LevelOrderTraversal
More
Data Structures
/
Tree
BSTIterative
More
Data Structures
/
Binary Tree
Fenwick Tree
More
Data Structures
/
Tree
VerticalOrderTraversal
More
Data Structures
/
Tree
RedBlackBST
More
Data Structures
/
Tree
CreateBinaryTreeFromInorderPreorder
More
Data Structures
/
Binary Tree
Segment Tree
More
Data Structures
/
Tree
GenericTree
More
Data Structures
/
Tree
TreeTraversal
More
Data Structures
/
Tree
PrintTopViewofTree
More
Data Structures
/
Tree
BinaryTree
More
Data Structures
/
Tree
BSTRecursive
More
Data Structures
/
Tree
BSTRecursiveGeneric
More
Data Structures
/
Tree
ValidBSTOrNot
More
Data Structures
/
Tree
LevelOrderTraversalQueue
More
Data Structures
/
Tree
TrieImp
More
Data Structures
/
Tree
LCA
More
Data Structures
/
Tree
CeilInBinarySearchTree
More
Data Structures
/
Binary Tree
AVL Tree
+1
More
Data Structures
/
Tree
CreateBSTFromSortedArray
More
Data Structures
/
Tree
nearestRightKey
More
Data Structures
/
Queues
GenericArrayListQueue
More
Data Structures
/
Queues
Circular Queue
More
Data Structures
Queues
More
Data Structures
/
Queues
PriorityQueues
More
Data Structures
/
Queues
Linked Queue
More
Data Structures
/
List
CreateAndDetectLoop
More
Data Structures
/
List
RemoveDuplicateNodes
More
Data Structures
/
List
CountSinglyLinkedListRecursion
More
Data Structures
/
List
SearchSinglyLinkedListRecursion
More
Data Structures
/
List
Merge K SortedLinkedlist
More
Data Structures
/
Linked List
Singly Linked List
More
Data Structures
/
List
MergeSortedSinglyLinkedList
More
Data Structures
/
List
CursorLinkedList
More
Data Structures
/
Linked List
Doubly Linked List
+2
More
Data Structures
/
List
MergeSortedArrayList
More
Data Structures
/
List
CircleLinkedList
More
Data Structures
/
Buffers
CircularBuffer
More
Data Structures
/
Hash Map
/
Hashing
MainLinearProbing
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
/
Hash Map
/
Hashing
HashMap
More
Data Structures
/
Hash Map
/
Hashing
HashMapLinearProbing
More
Data Structures
/
Bags
Bag
More
Data Structures
/
Graphs
BipartiteGrapfDFS
More
Data Structures
/
Graphs
KahnsAlgorithm
More
Data Structures
/
Graphs
ConnectedComponent
More
Data Structures
/
Graphs
DIJSKSTRAS ALGORITHM
More
Data Structures
/
Graphs
MatrixGraphs
More
Data Structures
/
Graphs
Cycles
More
Data Structures
Graphs
More
Data Structures
DynamicArray
More
Data Structures
DisjointSets
More
Data Structures
/
Disjoint Set
Node
More
Data Structures
Queue Using Two Stacks
More
Digital Image Processing
Digital Image Processing
Rotation
More
Divide and Conquer
Divide and Conquer
SkylineAlgorithm
More
Divide and Conquer
Strassen Matrix Multiplication
More
Divide and Conquer
ClosestPair
More
Dynamic Programming
Dynamic Programming
Floyd Warshall
More
Dynamic Programming
BoardPath
More
Dynamic Programming
WineProblem
More
Dynamic Programming
PalindromicPartitioning
More
Dynamic Programming
DyanamicProgrammingKnapsack
More
Dynamic Programming
Rod Cutting
More
Dynamic Programming
Sum of Subset
More
Dynamic Programming
KadaneAlgorithm
More
Dynamic Programming
Longest Increasing Subsequence
More
Dynamic Programming
CatalanNumber
More
Dynamic Programming
DiceThrow
More
Dynamic Programming
MatrixChainRecursiveTopDownMemoisation
More
Dynamic Programming
BruteForceKnapsack
More
Dynamic Programming
Edit Distance
+2
More
Dynamic Programming
LongestValidParentheses
More
Dynamic Programming
MemoizationTechniqueKnapsack
More
Dynamic Programming
LongestPalindromicSubsequence
More
Dynamic Programming
EggDropping
More
Dynamic Programming
Coin Change
+1
More
Dynamic Programming
LongestPalindromicSubstring
More
Dynamic Programming
MinimumSumPartition
More
Dynamic Programming
LongestAlternatingSubsequence
More
Dynamic Programming
Knapsack
More
Dynamic Programming
MinimumPathSum
More
Dynamic Programming
Longest Common Subsequence
More
Dynamic Programming
Matrix Chain Multiplication
More
Dynamic Programming
RegexMatching
More
Dynamic Programming
KnapsackMemoization
More
Dynamic Programming
LongestPalindromicSubstring
More
Dynamic Programming
Factorial
+8
More
Fractals
Fractals
Koch Snowflake
More
Fractals
Mandelbrot
More
Graphs
Graphs
Bellman Ford
More
Graphs
Kruskal
More
Graphs
PrimMST
More
Graphs
Page Rank
More
Graphs
Dijkstra
More
Hashing
Hashing
Luhn
More
Machine Learning
Machine Learning
Astar
More
Math
Math
Fibonacci Numbers
+8
More
Math
Fibonacci Numbers
+8
More
Math
Sieve of Eratosthenes
+1
More
Math
Binary Exponentiation
More
Math
Prime Factorization
More
Math
ADTFraction
More
Math
DeterminantOfMatrix
More
Math
Find Max Recursion
More
Math
NonRepeatingElement
More
Math
Sum of Digits
More
Math
Number of Digits
More
Math
Vector Cross Product
More
Math
GenericRoot
More
Math
MaxValue
More
Math
Pow
More
Math
Median
More
Math
FactorialRecursion
More
Math
Floor
More
Math
FFT
More
Math
KeithNumber
More
Math
PowerOfTwoOrNot
More
Math
Ceil
More
Math
FFTBluestein
More
Math
Lucas Series
More
Math
Find Min
More
Math
PythagoreanTriple
More
Math
AbsoluteValue
More
Math
Perfect Number
More
Math
Aliquot Sum
More
Math
MagicSquare
More
Math
Convolution
More
Math
PalindromeNumber
More
Math
Find Max
More
Math
Euler Method
More
Math
Area
More
Math
ConvolutionFFT
More
Math
SimpsonIntegration
More
Math
Armstrong
More
Math
BinaryPow
More
Math
Mode
More
Math
Perfect Cube
More
Math
GCDRecursion
More
Math
Krishnamurthy Number
More
Math
Combinations
More
Math
GCD
More
Math
PowRecursion
More
Math
Ugly Numbers
More
Math
Prime Check
+1
More
Math
Fibonacci Numbers
+8
More
Math
DigitalRoot
More
Math
RomanNumeralUtil
More
Math
Find Min Recursion
More
Math
CircularConvolutionFFT
More
Math
AbsoluteMax
More
Math
AbsoluteMin
More
Math
AutomorphicNumber
More
Math
TrinomialTriangle
More
Math
Perfect Square
More
Math
LeonardoNumber
More
Math
Average
More
Math
AmicableNumber
More
Math
MinValue
More
Math
LinearDiophantineEquationsSolver
More
Math
PiNilakantha
More
Math
ParseInteger
More
Math
HarshadNumber
More
Math
VampireNumber
More
Math
FibonacciJavaStreams
More
Math
DudeneyNumber
More
Math
Sum of Arithmetic Series
More
Matrix
Matrix
Inverse of Matrix
More
Networking Flow
Networking Flow
Ford Fulkerson
More
Others
Others
Lru Cache
More
Others
ColorContrastRatio
More
Others
MedianOfRunningArray
More
Others
WordBoggle
More
Others
Sparcity
More
Others
TwoSumProblem
More
Others
ThreeSumProblem
More
Others
matrixTranspose
More
Others
RangeInSortedArray
More
Others
PalindromePrime
More
Others
BFPRT
More
Others
RootPrecision
More
Others
ReturnSubsequence
More
Others
Tower of Hanoi
More
Others
Krishnamurthy
More
Others
GuassLegendre
More
Others
StringMatchFiniteAutomata
More
Others
SJF
More
Others
CountChar
More
Others
CountWords
More
Others
BestFit
More
Others
TopKWords
More
Others
CRCAlgorithm
More
Others
ReverseStackUsingRecursion
More
Others
FibbonaciSeries
More
Others
PerlinNoise
More
Others
SkylineProblem
More
Others
KMP
More
Others
Linear Congruential Generator
More
Others
StackPostfixNotation
More
Others
CRC32
More
Others
WorstFit
More
Others
TwoPointers
More
Others
RotateMatriceBy90Degree
More
Others
Implementing Auto Completing Features Using Trie
More
Others
LowestBasePalindrome
More
Others
InsertDeleteInArray
More
Others
PasswordGen
More
Others
ThreeSum
More
Others
EulersFunction
More
Others
BoyerMoore
More
Others
/
Restricted Tower Of Hanoi
Hanoi
More
Others
FirstFit
More
Others
RemoveDuplicateFromString
More
Others
FloydTriangle
More
Others
BrianKernighanAlgorithm
More
Searches
Searches
PerfectBinarySearch
More
Searches
LowerBound
More
Searches
IterativeTernarySearch
More
Searches
Fibonacci Search
More
Searches
Linear Search
+11
More
Searches
UpperBound
More
Searches
Interpolation Search
+2
More
Searches
SquareRootBinarySearch
More
Searches
MonteCarloTreeSearch
More
Searches
Jump Search
+5
More
Searches
UnionFind
More
Searches
HowManyTimesRotated
More
Searches
SearchAlgorithm
More
Searches
Ternary Search
+3
More
Searches
Saddleback Search
More
Searches
Binary Search
+12
More
Searches
IterativeBinarySearch
More
Searches
ExponentalSearch
More
Sorts
Sorts
MergeSortNoExtraSpace
More
Sorts
BubbleSortRecursion
More
Sorts
Bogo Sort
+2
More
Sorts
Selection Sort
+11
More
Sorts
Dnf Sort
More
Sorts
Radix Sort
+7
More
Sorts
Stooge Sort
More
Sorts
Insertion Sort
+14
More
Sorts
MergeSortRecursive
More
Sorts
Shell Sort
+7
More
Sorts
Quick Sort
+15
More
Sorts
SimpleSort
More
Sorts
Gnome Sort
+3
More
Sorts
Comb Sort
+7
More
Sorts
Pancake Sort
+3
More
Sorts
Tree Sort
More
Sorts
Bitonic Sort
More
Sorts
Cycle Sort
+1
More
Sorts
CircleSort
More
Sorts
Bubble Sort
+15
More
Sorts
Slowsort
More
Sorts
SortUtils
More
Sorts
Swap Sort
More
Sorts
Counting Sort
+5
More
Sorts
SortAlgorithm
More
Sorts
Bucket Sort
+2
More
Sorts
Cocktail Shaker Sort
More
Sorts
Heap Sort
+12
More
Sorts
Merge Sort
+16
More
Sorts
Tim Sort
More
Strings
Strings
Levenshtein Distance
More
Strings
Rabin Karp
More
Strings
HorspoolSearch
More
Strings
ReverseString
More
Strings
WordLadder
More
Strings
CheckVowels
More
Strings
CharactersSame
More
Strings
Alphabetical
More
Strings
Check Anagrams
More
Strings
Pangram
More
Strings
List All Possible Words From Phone Digits
More
Strings
Lower
More
Strings
Upper
More
Strings
Palindrome
+1
More
© The Algorithms 2021
What is an algorithm?
About us
Programming Languages
Contribute
Donate
Contact
GitHub
Gitter
Twitter
Source code
Analytics