The Algorithms logo
The Algorithms
AboutDonate
Array

Validate Subsequence

Sorted Squared Array

Car Pool

Pivot Index

Move Zeroes

Backtracking

Open Knight Tour

Blockchain

Chinese Remainder Theorem

Conversions

Decimal to Any

Integer To Roman

Hexadecimal to Octal

Decimal to Hexadecimal

Binary to Octal

Binary to Hexadecimal

Octal to Decimal

Hexadecimal to Decimal

Decimal to Binary

Octal to Binary

Octal To Hexadecimal

Binary to Decimal

Roman To Integer

Hexa Decimal To Binary

Decimal to Octal

Data Structures
Divide and Conquer
Dynamic Programming

Longest Common Subsequence

Longest Common Substring

Kadanes Algorithm

Min Number of Jumps

01knapsack Recursive

Graphs

Area of Island

Depth First Search

Breadth First Search

Nearest Neighbour Algorithm

Math

Two Sum

N Bonacci

Collatz

Magic Number

Find Min

Euler's Totient

Fermats Little Theorem

Find Max Recursion

Kynea Numbers

Sphenic Number

Linear Diophantine Eqn

Factorial Recursion

Abs Min

Power of Two

Palindrome String Recursion

Find Min Recursion

Factors

Symmetric Derivative

Amicable Numbers

Factorial

+11

More

Perfect Number

Fibonacci Recursion

Average

Sigmoid

Abs Max

Sieve of Eratosthenes

Factorial Approximation

Fibonacci Dynamic Programming

Armstrong Number

Palindrome Number

Find Max

Palindrome String

Shreedharacharya

Ugly Numbers

Simpson Rule

Relu Function

Numerical Analysis
Others

Tower of Hanoi

Haversine Formula

Moore Voting Algorithm

Swap All Odd and Even Bits

Ackermann

Searches

Linear Search

+12

More

Ternary Search

Fibonacci Search

Binary Search

+13

More

Peak Element

Interpolation Search

Jump Search

Binary Search Recursion

Binary Tree Traversal

Sorts

Comb Sort

Gnome Sort

Quick Sort

+18

More

Insert Sort

Tim Sort

Pigeonhole Sort

Select Sort

Count Sort

Cocktail Sort

Heap Sort

+12

More

Bubble Sort

+18

More

Shell Sort

Radix Sort

Fisher Yates Shuffle

Strings

Hamming Distance

Reverse String

Isomorphic Strings

Remove Duplicates

Knuth Morris Prat

Reverse Words of String

Tree

Path Sum