The Algorithms logo
The Algorithms
AboutDonate
Array

Validate Subsequence

Car Pool

Pivot Index

Move Zeroes

Sorted Squared Array

Backtracking

Open Knight Tour

Blockchain

Chinese Remainder Theorem

Conversions

Decimal to Any

Octal To Hexadecimal

Binary to Octal

Binary to Hexadecimal

Hexa Decimal To Binary

Decimal to Octal

Roman To Integer

Octal To Binary

Integer To Roman

Decimal to Binary

Octal to Decimal

Hexadecimal to Decimal

Decimal to Hexadecimal

Binary to Decimal

Hexadecimal to Octal

Data Structures
Divide and Conquer
Dynamic Programming

Longest Common Subsequence

Min Number of Jumps

Kadanes Algorithm

Longest Common Substring

01knapsack Recursive

Graphs

Depth First Search

Breadth First Search

Area of Island

Nearest Neighbour Algorithm

Math

Perfect Number

Amicable Numbers

Sieve of Eratosthenes

Factors

Armstrong Number

Kynea Numbers

Euler's Totient

Find Max Recursion

Factorial Recursion

Find Max

Find Min Recursion

Abs Min

Factorial

+11

More

Find Min

Simpson Rule

Prime

Fibonacci Dynamic Programming

Factorial Approximation

Fermats Little Theorem

Average

Linear Diophantine Eqn

Shreedharacharya

Fibonacci Recursion

Palindrome String Recursion

Sphenic Number

Sigmoid

Power of Two

Relu Function

Symmetric Derivative

Abs Max

Palindrome Number

Palindrome String

Ugly Numbers

Two Sum

Magic Number

Collatz

N Bonacci

Numerical Analysis
Others

Ackermann

Haversine Formula

Moore Voting Algorithm

Tower of Hanoi

Swap All Odd and Even Bits

Searches

Binary Tree Traversal

Binary Search Recursion

Interpolation Search

Peak Element

Linear Search

+13

More

Binary Search

+14

More

Jump Search

Fibonacci Search

Ternary Search

Sorts

Select Sort

Radix Sort

Count Sort

Quick Sort

+18

More

Comb Sort

Pigeonhole Sort

Shell Sort

Bubble Sort

+18

More

Cocktail Sort

Heap Sort

+12

More

Gnome Sort

Insert Sort

Tim Sort

Fisher Yates Shuffle

Strings

Hamming Distance

Isomorphic Strings

Remove Duplicates

Reverse String

Knuth Morris Prat

Reverse Words of String

Tree

Path Sum