The Algorithms logo
The Algorithms
AboutDonate
Array

Car Pool

Validate Subsequence

Pivot Index

Move Zeroes

Sorted Squared Array

Backtracking

Open Knight Tour

Blockchain

Chinese Remainder Theorem

Conversions

Hexa Decimal To Binary

Hexadecimal to Decimal

Octal To Hexadecimal

Decimal to Octal

Decimal to Hexadecimal

Hexadecimal to Octal

Integer To Roman

Binary to Decimal

Octal to Decimal

Decimal to Binary

Binary to Octal

Octal To Binary

Binary to Hexadecimal

Decimal to Any

Roman To Integer

Data Structures
Divide and Conquer

Heaps Algorithm

Dynamic Programming

Kadanes Algorithm

Longest Common Substring

Min Number of Jumps

01knapsack Recursive

Longest Common Subsequence

Graphs

Area of Island

Nearest Neighbour Algorithm

Breadth First Search

Depth First Search

Math

Magic Number

N Bonacci

Collatz

Two Sum

Find Min Recursion

Factors

Shreedharacharya

Power of Two

Average

Relu Function

Simpson Rule

Ugly Numbers

Find Max Recursion

Symmetric Derivative

Sphenic Number

Perfect Number

Sigmoid

Palindrome String Recursion

Palindrome Number

Fibonacci Recursion

Find Max

Armstrong Number

Factorial Approximation

Fermats Little Theorem

Palindrome String

Amicable Numbers

Euler's Totient

Fibonacci Dynamic Programming

Linear Diophantine Eqn

Abs Max

Factorial Recursion

Sieve of Eratosthenes

Find Min

Abs Min

Kynea Numbers

Numerical Analysis
Others

Tower of Hanoi

Moore Voting Algorithm

Ackermann

Haversine Formula

Swap All Odd and Even Bits

Searches

Binary Tree Traversal

Binary Search Recursion

Jump Search

Peak Element

Interpolation Search

Ternary Search

Fibonacci Search

Linear Search

+13

More

Binary Search

+14

More
Sorts

Comb Sort

Quick Sort

+18

More

Heap Sort

+12

More

Shell Sort

Bubble Sort

+18

More

Cocktail Sort

Tim Sort

Insert Sort

Select Sort

Merge Sort

+18

More

Pigeonhole Sort

Radix Sort

Count Sort

Gnome Sort

Fisher Yates Shuffle

Strings

Isomorphic Strings

Knuth Morris Prat

Reverse String

Reverse Words of String

Remove Duplicates

Hamming Distance

Tree

Path Sum