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