The Algorithms
Search any algorithm
About
Donate
Java
GitHub repository
undefined
Minimizing Lateness
More
Audio Filters
Audio Filters
Iir Filter
More
Backtracking
Backtracking
Power Sum
More
Backtracking
Combination
More
Backtracking
N Queens
More
Backtracking
Knights Tour
More
Backtracking
Permutation
More
Backtracking
Maze Recursion
More
Backtracking
Hamiltonian Cycle
More
Backtracking
Subset Sum
More
Backtracking
Sudoku Solver
+1
More
Ciphers
Ciphers
RSA
More
Ciphers
Blowfish
More
Ciphers
Caesar
More
Ciphers
Columnar Transposition Cipher
More
Ciphers
Polybius
More
Ciphers
Simple Sub Cipher
More
Ciphers
/
A 5
Utils
More
Ciphers
/
A 5
A 5 Cipher
More
Ciphers
/
A 5
A 5 Key Stream Generator
More
Ciphers
/
A 5
Composite LFSR
More
Ciphers
/
A 5
LFSR
More
Ciphers
/
A 5
Base LFSR
More
Ciphers
Vigenere
More
Ciphers
AES
More
Ciphers
Product Cipher
More
Ciphers
Simple Substitution Cipher
More
Ciphers
Hill Cipher
More
Ciphers
Affine Cipher
More
Ciphers
AES Encryption
More
Compression
Compression
Huffman
More
Conversions
Conversions
Any Base To Any Base
More
Conversions
Binary to Hexadecimal
More
Conversions
Anyto Any
More
Conversions
Any Base To Decimal
More
Conversions
Integer To Roman
More
Conversions
Hexa Decimal To Binary
More
Conversions
Hex To Oct
More
Conversions
Octal To Hexadecimal
More
Conversions
Octal to Decimal
More
Conversions
Decimal to Octal
More
Conversions
Rgb Hsv Conversion
More
Conversions
Decimal to Binary
+3
More
Conversions
Turkish To Latin Conversion
More
Conversions
Binary to Decimal
+2
More
Conversions
Hexadecimal to Decimal
More
Conversions
Decimal to Hexadecimal
More
Conversions
Binary to Octal
More
Conversions
Decimal To Any Base
More
Conversions
Roman To Integer
More
CPU Scheduling Algorithms
CPU Scheduling Algorithms
Fcfs Scheduling
More
Data Structures
Data Structures
/
Cache
MRU Cache
More
Data Structures
Disjoint Sets
More
Data Structures
/
Disjoint Set
Node
More
Data Structures
/
Stacks
Largest Rectangle
More
Data Structures
/
Stacks
Next Smaller Element
More
Data Structures
/
Stacks
Next Grater Element
More
Data Structures
/
Stacks
Decimal To Any Using Stack
More
Data Structures
/
Stacks
Stack with Singly Linked List
+2
More
Data Structures
/
Stacks
Maximum Minimum Window
More
Data Structures
/
Stacks
Calculate Max Of Min
More
Data Structures
/
Stacks
Stack Array
More
Data Structures
/
Stacks
Reverse Stack
More
Data Structures
/
Stacks
Infix To Postfix
More
Data Structures
/
Stacks
Balanced Brackets
More
Data Structures
/
Stacks
Node Stack
More
Data Structures
/
Stacks
Duplicate Brackets
More
Data Structures
/
Stacks
Postfix To Infix
More
Data Structures
/
Stacks
Stack Array List
More
Data Structures
/
Buffers
Circular Buffer
More
Data Structures
/
Hash Map
/
Hashing
Generic Hash Map Using Array
More
Data Structures
/
Hash Map
/
Hashing
Hash Map
More
Data Structures
/
Hash Map
/
Hashing
Hash Map Linear Probing
More
Data Structures
/
Hash Map
/
Hashing
Main
More
Data Structures
/
Hash Map
/
Hashing
Hash Map Cuckoo Hashing
More
Data Structures
/
Hash Map
/
Hashing
Main Linear Probing
More
Data Structures
/
Hash Map
/
Hashing
Main Cuckoo Hashing
More
Data Structures
/
Hash Map
/
Hashing
Generic Hash Map Using Array List
More
Data Structures
/
Tree
Generic Tree
More
Data Structures
/
Tree
Check Tree Is Symmetric
More
Data Structures
/
Tree
Level Order Traversal
More
Data Structures
/
Tree
Nearest Right Key
More
Data Structures
/
Tree
Valid BST Or Not
More
Data Structures
/
Binary Tree
Segment Tree
+1
More
Data Structures
/
Binary Tree
AVL Tree
+1
More
Data Structures
/
Tree
AVL Simple
More
Data Structures
/
Tree
BST Recursive
More
Data Structures
/
Tree
Tree Random Node
More
Data Structures
/
Tree
Trie Imp
More
Data Structures
/
Tree
Ceil In Binary Search Tree
More
Data Structures
/
Tree
BST Iterative
More
Data Structures
/
Tree
Level Order Traversal Queue
More
Data Structures
/
Tree
Binary Tree
More
Data Structures
/
Tree
Red Black BST
More
Data Structures
/
Tree
Vertical Order Traversal
More
Data Structures
/
Tree
Create Binary Tree From Inorder Preorder
More
Data Structures
/
Tree
LCA
More
Data Structures
/
Tree
Check If Binary Tree Balanced
More
Data Structures
/
Binary Tree
Fenwick Tree
More
Data Structures
/
Tree
Create BST From Sorted Array
More
Data Structures
/
Binary Tree
Lazy Segment Tree
More
Data Structures
/
Tree
KD Tree
More
Data Structures
/
Tree
Tree Traversal
More
Data Structures
/
Tree
Print Top Viewof Tree
More
Data Structures
/
Tree
BST Recursive Generic
More
Data Structures
Dynamic Array
More
Data Structures
/
Graphs
Matrix Graphs
More
Data Structures
/
Graphs
Cycles
More
Data Structures
/
Graphs
Connected Component
More
Data Structures
/
Graphs
Bipartite Grapf DFS
More
Data Structures
/
Graphs
Kahns Algorithm
More
Data Structures
/
Graphs
DIJSKSTRAS ALGORITHM
More
Data Structures
Graphs
More
Data Structures
/
Bags
Bag
More
Data Structures
/
Linked List
Singly Linked List
+1
More
Data Structures
/
List
Merge Sorted Singly Linked List
More
Data Structures
/
List
Random Node
More
Data Structures
/
List
Cursor Linked List
More
Data Structures
/
List
Merge Sorted Array List
More
Data Structures
/
List
Count Singly Linked List Recursion
More
Data Structures
/
Linked List
Skip List
More
Data Structures
/
List
Merge K Sorted Linkedlist
More
Data Structures
/
List
Create And Detect Loop
More
Data Structures
/
Linked List
Doubly Linked List
+2
More
Data Structures
/
List
Search Singly Linked List Recursion
More
Data Structures
/
List
Circle Linked List
More
Data Structures
Bloom Filter
More
Data Structures
/
Queues
Priority Queues
More
Data Structures
/
Queues
Linked Queue
More
Data Structures
/
Queues
Generic Array List Queue
More
Data Structures
/
Queues
Circular Queue
More
Data Structures
/
Queues
Deques
More
Data Structures
Queues
More
Data Structures
/
Heaps
Generic Heap
More
Data Structures
/
Heap
Min Heap
More
Data Structures
/
Heaps
Empty Heap Exception
More
Data Structures
/
Heap
Min Priority Queue
More
Data Structures
/
Heap
Max Heap
More
Data Structures
/
Heaps
Heap Element
More
Data Structures
/
Heaps
Fibonacci Heap
More
Data Structures
Heap
More
Data Structures
Queue Using Two Stacks
More
Data Structures
/
Disjoint Set
Node
More
Devutils
Devutils
/
Entities
Process Details
More
Devutils
/
Searches
Search Algorithm
More
Devutils
/
Searches
Matrix Search Algorithm
More
Devutils
/
Nodes
Simple Node
More
Devutils
/
Nodes
Simple Tree Node
More
Devutils
/
Nodes
Large Tree Node
More
Devutils
/
Nodes
Tree Node
More
Digital Image Processing
Digital Image Processing
Rotation
More
Divide and Conquer
Divide and Conquer
Closest Pair
More
Divide and Conquer
Skyline Algorithm
More
Divide and Conquer
Strassen Matrix Multiplication
More
Divide and Conquer
Mergesort
+17
More
Dynamic Programming
Dynamic Programming
Fibonacci Numbers
+10
More
Dynamic Programming
Floyd Warshall
+2
More
Dynamic Programming
Coin Change
+4
More
Dynamic Programming
Brute Force Knapsack
More
Dynamic Programming
Longest Increasing Subsequence
More
Dynamic Programming
Egg Dropping
More
Dynamic Programming
Dice Throw
More
Dynamic Programming
Count Friends Pairing
More
Dynamic Programming
Sum of Subset
More
Dynamic Programming
Board Path
More
Dynamic Programming
Dyanamic Programming Knapsack
More
Dynamic Programming
Rod Cutting
More
Dynamic Programming
Matrix Chain Recursive Top Down Memoisation
More
Dynamic Programming
Subset Count
More
Dynamic Programming
Palindromic Partitioning
More
Dynamic Programming
Fibonacci Numbers
+10
More
Dynamic Programming
Longest Palindromic Substring
More
Dynamic Programming
Boundary Fill
More
Dynamic Programming
Minimum Sum Partition
More
Dynamic Programming
Unique Paths
More
Dynamic Programming
Regex Matching
More
Dynamic Programming
Kadane Algorithm
More
Dynamic Programming
Matrix Chain Multiplication
More
Dynamic Programming
Longest Palindromic Subsequence
More
Dynamic Programming
Knapsack
+1
More
Dynamic Programming
Longest Valid Parentheses
More
Dynamic Programming
Edit Distance
+2
More
Dynamic Programming
Shortest Common Supersequence Length
More
Dynamic Programming
Knapsack Memoization
More
Dynamic Programming
Wine Problem
More
Dynamic Programming
New Man Shanks Prime
More
Dynamic Programming
Longest Common Subsequence
+1
More
Dynamic Programming
Longest Alternating Subsequence
More
Dynamic Programming
Longest Palindromic Substring
More
Dynamic Programming
Factorial
+10
More
Dynamic Programming
Fibonacci Numbers
+10
More
Fractals
Fractals
Koch Snowflake
More
Fractals
Mandelbrot
More
Graphs
Graphs
Prim MST
More
Graphs
Kruskal
More
Graphs
Bellman Ford
+2
More
Graphs
Minimum Path Sum
More
Graphs
Page Rank
More
Graphs
Dijkstra
+2
More
Graphs
Depth First Search
+4
More
Graphs
Breadth First Search
+3
More
Hashing
Hashing
Luhn
More
Machine Learning
Machine Learning
Astar
More
Math
Math
Binary Exponentiation
More
Math
Catalan Number
More
Math
Sieve of Eratosthenes
+4
More
Math
Power Of Two Or Not
More
Math
Square Free Integer
More
Math
Median
More
Math
Convolution
More
Math
Determinant Of Matrix
More
Math
Number of Digits
More
Math
Leonardo Number
More
Math
ADT Fraction
More
Math
Ceil
More
Math
Convolution FFT
More
Math
Vampire Number
More
Math
Parse Integer
More
Math
Liouville Lambda Function
More
Math
Square Root With Newton Raphson Method
More
Math
Find Max
More
Math
Simpson Integration
More
Math
Linear Diophantine Equations Solver
More
Math
Keith Number
More
Math
Binomial Coefficient
More
Math
Circular Convolution FFT
More
Math
Pronic Number
More
Math
Floor
More
Math
Mode
More
Math
Dudeney Number
More
Math
Prime
+7
More
Math
Pow Recursion
More
Math
Kaprekar Numbers
More
Math
Absolute Value
More
Math
Trinomial Triangle
More
Math
Find Max Recursion
More
Math
Non Repeating Element
More
Math
Sum of Arithmetic Series
More
Math
Vector Cross Product
More
Math
Gaussian
More
Math
Pollard Rho
More
Math
Perfect Square
+1
More
Math
Herons Formula
More
Math
Josephus Problem
More
Math
Sum of Digits
More
Math
Average
More
Math
Armstrong Number
+7
More
Math
Standard Deviation
More
Math
Fibonacci Java Streams
More
Math
Lucas Series
More
Math
GCD
More
Math
Area
More
Math
Combinations
More
Math
Amicable Number
More
Math
Volume
More
Math
Find Min Recursion
More
Math
Sum Without Arithmetic Operators
More
Math
Square Root With Babylonian Method
More
Math
Palindrome Number
More
Math
Digital Root
More
Math
Juggler Sequence
More
Math
Find Min
+1
More
Math
Aliquot Sum
+2
More
Math
Perimeter
More
Math
Long Division
More
Math
Collatz Conjecture
More
Math
Least Common Multiple
More
Math
Twin Prime
More
Math
Reverse Number
More
Math
Absolute Min
More
Math
Matrix Util
More
Math
Mobius Function
More
Math
Find Kth Number
More
Math
Absolute Max
More
Math
Max Value
More
Math
Harshad Number
More
Math
FFT
More
Math
Perfect Number
More
Math
Roman Numeral Util
More
Math
Euler Method
More
Math
Fast Inverse Sqrt
More
Math
FFT Bluestein
More
Math
Pow
More
Math
Automorphic Number
More
Math
Krishnamurthy Number
More
Math
Magic Square
More
Math
Min Value
More
Math
Ugly Numbers
More
Math
Distance Formula
More
Math
GCD Recursion
More
Math
Generic Root
More
Math
Factorial Recursion
More
Math
Pi Nilakantha
More
Math
Binary Pow
More
Math
Prime Factorization
More
Math
Perfect Cube
More
Math
Pythagorean Triple
More
Math
Standard Score
More
Matrix
Matrix
Inverse of Matrix
More
Matrix
Pascal Triangle
More
Networking Flow
Networking Flow
Ford Fulkerson
More
Numerical Analysis
Numerical Analysis
Intersection
More
Operations on Datastructures
Operations on Datastructures
Array Left Rotation
More
Others
Others
Sort 012 D
More
Others
Palindrome Prime
More
Others
Color Contrast Ratio
More
Others
Two Sum Problem
More
Others
Matrix Transpose
More
Others
Word Boggle
More
Others
Three Sum Problem
More
Others
Median Of Running Array
More
Others
Sparcity
More
Others
Range In Sorted Array
More
Others
Palindrome Singly Linked List
More
Others
Lfu Cache
More
Others
Lru Cache
More
Others
Linear Congruential Generator
More
Others
Two Pointers
More
Others
Damm
More
Others
Count Words
More
Others
Lowest Base Palindrome
More
Others
Stack Postfix Notation
More
Others
KMP
More
Others
SJF
More
Others
Eulers Function
More
Others
Rotate Matrice By 90 Degree
More
Others
Perlin Noise
More
Others
Bankers Algorithm
More
Others
Brian Kernighan Algorithm
More
Others
Guass Legendre
More
Others
Reverse Stack Using Recursion
More
Others
Fibbonaci Series
More
Others
Implementing Auto Completing Features Using Trie
More
Others
Return Subsequence
More
Others
Floyd Triangle
More
Others
CRC Algorithm
More
Others
Count Set Bits
More
Others
Password Gen
More
Others
CRC 32
More
Others
CRC 16
More
Others
Verhoeff
More
Others
BFPRT
More
Others
Mini Max Algorithm
More
Others
Happy Numbers Seq
More
Others
Top K Words
More
Others
Three Sum
More
Others
Count Char
More
Others
String Match Finite Automata
More
Others
Remove Duplicate From String
More
Others
Tower of Hanoi
+1
More
Others
Root Precision
More
Others
Memory Management Algorithms
More
Others
Insert Delete In Array
More
Others
Skyline Problem
More
Others
Krishnamurthy
More
Recursive
Recursive
Flood Fill
More
Searches
Searches
Row Column Wise Sorted 2d Array Binary Search
More
Searches
KMP Search
More
Searches
Ternary Search
+5
More
Searches
Quick Select
More
Searches
Lower Bound
More
Searches
Linear Search Thread
More
Searches
Iterative Ternary Search
More
Searches
Interpolation Search
+4
More
Searches
Union Find
More
Searches
Binary Search
+13
More
Searches
Exponental Search
More
Searches
How Many Times Rotated
More
Searches
Upper Bound
More
Searches
Jump Search
+7
More
Searches
Monte Carlo Tree Search
More
Searches
Perfect Binary Search
More
Searches
Rabin Karp Algorithm
More
Searches
Fibonacci Search
+4
More
Searches
Saddleback Search
More
Searches
Iterative Binary Search
More
Searches
Linear Search
+12
More
Searches
Binary Search 2d Array
More
Searches
Square Root Binary Search
More
Sorts
Sorts
Pancake Sort
+5
More
Sorts
Shell Sort
+7
More
Sorts
Bogo Sort
+5
More
Sorts
Sort Utils Random Generator
More
Sorts
Sort Utils
More
Sorts
Stooge Sort
More
Sorts
Dnf Sort
More
Sorts
Heap Sort
+12
More
Sorts
Radix Sort
+7
More
Sorts
Tim Sort
+1
More
Sorts
Bubble Sort Recursion
More
Sorts
Merge Sort No Extra Space
More
Sorts
Strand Sort
More
Sorts
Link List Sort
More
Sorts
Dual Pivot Quick Sort
More
Sorts
Circle Sort
More
Sorts
Gnome Sort
+6
More
Sorts
Merge Sort Recursive
More
Sorts
Cocktail Shaker Sort
More
Sorts
Odd Even Sort
More
Sorts
Pigeonhole Sort
+2
More
Sorts
Counting Sort
+5
More
Sorts
Topological Sort
More
Sorts
Tree Sort
More
Sorts
Swap Sort
More
Sorts
Insertion Sort
+16
More
Sorts
Bead Sort
+1
More
Sorts
Selection Sort
+12
More
Sorts
Cycle Sort
+2
More
Sorts
Comb Sort
+7
More
Sorts
Sort Algorithm
More
Sorts
Bubble Sort
+17
More
Sorts
Wiggle Sort
More
Sorts
Slowsort
More
Sorts
Bitonic Sort
More
Sorts
Quick Sort
+17
More
Sorts
Dutch National Flag Sort
More
Sorts
Simple Sort
More
Sorts
Binary Insertion Sort
More
Sorts
Bucket Sort
+4
More
Strings
Strings
Levenshtein Distance
+1
More
Strings
Hamming Distance
+2
More
Strings
Boyer Moore
More
Strings
Rabin Karp
+1
More
Strings
Isomorphic
More
Strings
Characters Same
More
Strings
Word Ladder
More
Strings
Palindrome
+2
More
Strings
Lower
More
Strings
My Atoi
More
Strings
Pangram
More
Strings
Upper
More
Strings
Hamming Distance
+2
More
Strings
Zig Zag Pattern
More
Strings
Alphabetical
More
Strings
Valid Parentheses
More
Strings
Horspool Search
More
Strings
Longest Non Repeative Substring
More
Strings
Check Vowels
More
Strings
Anagrams
More
Strings
Reverse String
More
Strings
Check Anagrams
More
Strings
Permute String
More
Strings
Letter Combinations Of Phone Number
More
Strings
Reverse String Recursive
More
© The Algorithms 2022
What is an algorithm?
About us
Programming Languages
Contribute
Donate
GitHub
Gitter
Twitter
Source code
Contact