The Algorithms
Search any algorithm
About
Donate
Dart
GitHub repository
Array
Array
Validate Subsequence
More
Array
Car Pool
More
Array
Pivot Index
More
Array
Move Zeroes
More
Array
Sorted Squared Array
More
Backtracking
Backtracking
N-Queen
More
Backtracking
Open Knight Tour
More
Blockchain
Blockchain
Chinese Remainder Theorem
More
Conversions
Conversions
Decimal to Any
More
Conversions
Octal To Hexadecimal
More
Conversions
Binary to Octal
More
Conversions
Binary to Hexadecimal
More
Conversions
Hexa Decimal To Binary
More
Conversions
Decimal to Octal
More
Conversions
Roman To Integer
More
Conversions
Octal To Binary
More
Conversions
Integer To Roman
More
Conversions
Decimal to Binary
+4
More
Conversions
Octal to Decimal
More
Conversions
Hexadecimal to Decimal
More
Conversions
Decimal to Hexadecimal
More
Conversions
Binary to Decimal
+3
More
Conversions
Hexadecimal to Octal
More
Data Structures
Data Structures
/
Stacks
Array Stack
More
Data Structures
/
Stacks
Balanced Brackets
More
Data Structures
/
Stacks
Stack with Singly Linked List
+3
More
Data Structures
/
Queues
List Queue
More
Data Structures
/
Queues
Priority Queue
More
Data Structures
/
Queues
Circular Queue
More
Data Structures
/
Hash Map
Hashing
More
Data Structures
/
Heap
/
Binary Heap
Min Heap Two
More
Data Structures
/
Heap
Min Heap
More
Data Structures
/
Heap
Max Heap
+1
More
Data Structures
/
Binary Tree
Basic Binary Tree
More
Data Structures
Quad Tree
More
Data Structures
/
Linked List
Cycle in Linked List
More
Data Structures
/
Linked List
Merge Sorted List
More
Data Structures
Linked List
+1
More
Divide and Conquer
Divide and Conquer
Mergesort
+18
More
Divide and Conquer
Heaps Algorithm
More
Dynamic Programming
Dynamic Programming
Longest Common Subsequence
+1
More
Dynamic Programming
Min Number of Jumps
More
Dynamic Programming
Coin Change
+4
More
Dynamic Programming
Kadanes Algorithm
More
Dynamic Programming
Longest Common Substring
More
Dynamic Programming
01knapsack Recursive
More
Dynamic Programming
Kadane Algo
More
Dynamic Programming
Fizz Buzz
More
Graphs
Graphs
Depth First Search
+4
More
Graphs
Breadth First Search
+3
More
Graphs
Area of Island
More
Graphs
Nearest Neighbour Algorithm
More
Math
Math
Perfect Number
+4
More
Math
Amicable Numbers
More
Math
Sieve of Eratosthenes
+4
More
Math
Factors
More
Math
Armstrong Number
+7
More
Math
Pow
More
Math
Kynea Numbers
More
Math
Euler's Totient
+1
More
Math
Find Max Recursion
More
Math
Factorial Recursion
More
Math
Find Max
More
Math
Find Min Recursion
More
Math
Abs Min
More
Math
Factorial
+11
More
Math
Find Min
+1
More
Math
Simpson Rule
More
Math
Prime
+7
More
Math
Fibonacci Dynamic Programming
More
Math
Factorial Approximation
More
Math
Fermats Little Theorem
More
Math
Average
More
Math
Linear Diophantine Eqn
More
Math
Shreedharacharya
More
Math
Fibonacci Recursion
More
Math
Palindrome String Recursion
More
Math
Sphenic Number
More
Math
Sigmoid
More
Math
Power of Two
More
Math
Abs
+5
More
Math
Relu Function
More
Math
Symmetric Derivative
More
Math
Abs Max
More
Math
Palindrome Number
More
Math
Palindrome String
More
Math
Ugly Numbers
More
Math
Two Sum
More
Math
LCM
+2
More
Math
Magic Number
More
Math
Collatz
More
Math
GCD
More
Math
N Bonacci
More
Numerical Analysis
Numerical Analysis
Lu Decomposition
More
Numerical Analysis
Newton Method
More
Others
Others
Ackermann
More
Others
Haversine Formula
More
Others
Binpow
More
Others
Moore Voting Algorithm
More
Others
Tower of Hanoi
+1
More
Others
Swap All Odd and Even Bits
More
Searches
Searches
Binary Tree Traversal
More
Searches
Binary Search Recursion
More
Searches
Interpolation Search
+5
More
Searches
Peak Element
More
Searches
Linear Search
+13
More
Searches
Binary Search
+14
More
Searches
Jump Search
+8
More
Searches
Fibonacci Search
+4
More
Searches
Ternary Search
+5
More
Sorts
Sorts
Select Sort
More
Sorts
Radix Sort
+8
More
Sorts
Count Sort
More
Sorts
Quick Sort
+18
More
Sorts
Comb Sort
+7
More
Sorts
Pigeonhole Sort
+2
More
Sorts
Shell Sort
+8
More
Sorts
Bubble Sort
+18
More
Sorts
Cocktail Sort
More
Sorts
Heap Sort
+12
More
Sorts
Gnome Sort
+7
More
Sorts
Insert Sort
More
Sorts
Tim Sort
+1
More
Sorts
Fisher Yates Shuffle
More
Strings
Strings
Hamming Distance
+4
More
Strings
Isomorphic Strings
More
Strings
Remove Duplicates
More
Strings
Reverse String
More
Strings
Knuth Morris Prat
More
Strings
Reverse Words of String
More
Tree
Tree
Path Sum
More
© The Algorithms 2023
What is an algorithm?
About us
Programming Languages
Contribute
Donate
GitHub
Gitter
Twitter
Source code
Contact