The Algorithms logo
The Algorithms
AboutDonate
Array

Validate Subsequence

Sorted Squared Array

Backtracking

Open Knight Tour

Blockchain

Chinese Remainder Theorem

Conversions

Binary to Decimal

Binary to Hexadecimal

Decimal to Any

Hexadecimal to Octal

Octal to Binary

Binary to Octal

Decimal to Octal

Decimal to Binary

Decimal to Hexadecimal

Roman To Integer

Integer To Roman

Hexa Decimal To Binary

Hexadecimal to Decimal

Octal To Hexadecimal

Octal to Decimal

Data Structures
Divide and Conquer
Dynamic Programming

Kadanes Algorithm

Longest Common Substring

Min Number of Jumps

Longest Common Subsequence

01knapsack Recursive

Graphs

Depth First Search

Nearest Neighbour Algorithm

Breadth First Search

Math

Magic Number

N Bonacci

Find Max

Relu Function

Abs Max

Fibonacci Recursion

Find Min

Factorial Recursion

Prime

Average

Factors

Sphenic Number

Factorial Approximation

Fermats Little Theorem

Find Min Recursion

Palindrome Number

Find Max Recursion

Power of Two

Eulers Totient

Amicable Numbers

Palindrome String

Sieve of Eratosthenes

Fibonacci Dynamic Programming

Sigmoid

Ugly Numbers

Perfect Number

Armstrong Number

Simpson Rule

Symmetric Derivative

Abs Min

Kynea Numbers

Palindrome String Recursion

Shreedharacharya

Linear Diophantine Eqn

Two Sum

Numerical Analysis
Others

Haversine Formula

Swap All Odd and Even Bits

Tower of Hanoi

Ackermann

Moore Voting Algorithm

Collatz

Searches

Linear Search

+12

More

Interpolation Search

Ternary Search

Binary Search

+13

More

Jump Search

Peak Element

Binary Search Recursion

Fibonacci Search

Binary Tree Traversal

Sorts

Cocktail Sort

Select Sort

Quick Sort

+17

More

Bubble Sort

+17

More

Count Sort

Comb Sort

Heap Sort

+12

More

Radix Sort

Tim Sort

Gnome Sort

Shell Sort

Pigeonhole Sort

Insert Sort

Fisher Yates Shuffle

Strings

Knuth Morris Prat

Remove Duplicates

Reverse String

Reverse Words of String

Hamming Distance