The Algorithms logo
The Algorithms
AboutDonate
Array

Validate Subsequence

Sorted Squared Array

Backtracking

Open Knight Tour

Blockchain

Chinese Remainder Theorem

Conversions

Binary to Octal

Decimal to Binary

Decimal to Hexadecimal

Octal To Hexadecimal

Integer To Roman

Hexadecimal to Octal

Octal to Decimal

Binary to Decimal

Octal to Binary

Binary to Hexadecimal

Decimal to Octal

Roman To Integer

Hexadecimal to Decimal

Hexa Decimal To Binary

Decimal to Any

Data Structures
Divide and Conquer

Heaps Algorithm

Dynamic Programming

Kadanes Algorithm

Min Number of Jumps

Longest Common Substring

Longest Common Subsequence

01knapsack Recursive

Graphs

Breadth First Search

Depth First Search

Nearest Neighbour Algorithm

Math

Two Sum

Sieve of Eratosthenes

Average

Palindrome String Recursion

Abs Max

Perfect Number

Find Max

Ugly Numbers

Euler's Totient

Sphenic Number

Palindrome Number

Amicable Numbers

Factorial Approximation

Power of Two

Find Min

Find Max Recursion

Fibonacci Dynamic Programming

Armstrong Number

Sigmoid

Symmetric Derivative

Factorial Recursion

Find Min Recursion

Abs Min

Factors

Fibonacci Recursion

Fermats Little Theorem

Kynea Numbers

Shreedharacharya

Palindrome String

Relu Function

Simpson Rule

Linear Diophantine Eqn

Collatz

Magic Number

N Bonacci

Numerical Analysis
Others

Haversine Formula

Swap All Odd and Even Bits

Moore Voting Algorithm

Tower of Hanoi

Ackermann

Searches

Binary Tree Traversal

Fibonacci Search

Linear Search

+12

More

Ternary Search

Binary Search Recursion

Peak Element

Jump Search

Binary Search

+13

More

Interpolation Search

Sorts

Quick Sort

+17

More

Cocktail Sort

Gnome Sort

Bubble Sort

+17

More

Comb Sort

Radix Sort

Count Sort

Shell Sort

Pigeonhole Sort

Select Sort

Tim Sort

Insert Sort

Merge Sort

+17

More

Heap Sort

+12

More

Fisher Yates Shuffle

Strings

Remove Duplicates

Reverse Words of String

Reverse String

Knuth Morris Prat

Hamming Distance

Tree

Path Sum