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