The Algorithms logo
The Algorithms
AboutDonate
Array

Validate Subsequence

Sorted Squared Array

Backtracking

Open Knight Tour

Blockchain

Chinese Remainder Theorem

Conversions

Decimal to Binary

Hexa Decimal To Binary

Integer To Roman

Roman To Integer

Decimal to Octal

Octal to Binary

Binary to Decimal

Binary to Hexadecimal

Hexadecimal to Octal

Decimal to Hexadecimal

Binary to Octal

Octal To Hexadecimal

Decimal to Any

Hexadecimal to Decimal

Octal to Decimal

Data Structures
Divide and Conquer
Dynamic Programming

Min Number of Jumps

01knapsack Recursive

Kadanes Algorithm

Graphs

Nearest Neighbour Algorithm

Breadth First Search

Depth First Search

Math

Magic Number

N Bonacci

Abs Max

Palindrome String

Abs Min

Relu Function

Fibonacci Dynamic Programming

Perfect Number

Find Max Recursion

Factors

Find Min

Sigmoid

Sieve of Eratosthenes

Factorial Recursion

Simpson Rule

Fibonacci Recursion

Amicable Numbers

Shreedharacharya

Find Max

Eulers Totient

Sphenic Number

Kynea Numbers

Palindrome Number

Linear Diophantine Eqn

Find Min Recursion

Prime Check

Palindrome String Recursion

Power of Two

Fermats Little Theorem

Symmetric Derivative

Ugly Numbers

Armstrong Number

Factorial Approximation

Average

Two Sum

Numerical Analysis
Others

Haversine Formula

Moore Voting Algorithm

Swap All Odd and Even Bits

Ackermann

Tower of Hanoi

Collatz

Fizz Buzz

Searches

Binary Search Recursion

Peak Element

Fibonacci Search

Jump Search

Interpolation Search

Binary Search

+13

More

Ternary Search

Linear Search

+11

More

Binary Tree Traversal

Sorts

Insert Sort

Quick Sort

+18

More

Gnome Sort

Bubble Sort

+18

More

Radix Sort

Comb Sort

Shell Sort

Heap Sort

+13

More

Select Sort

Tim Sort

Pigeonhole Sort

Cocktail Sort

Count Sort

Fisher Yates Shuffle

Strings

Hamming Distance

Reverse Words of String

Knuth Morris Prat

Reverse String

Remove Duplicates