The Algorithms logo
The Algorithms
AboutDonate
Array

Validate Subsequence

Backtracking

Open Knight Tour

Conversions

Hexadecimal to Octal

Decimal to Any

Decimal to Octal

Decimal to Binary

Integer To Roman

Roman To Integer

Octal To Hexadecimal

Binary to Decimal

Octal to Decimal

Hexadecimal to Decimal

Hexa Decimal To Binary

Decimal to Hexadecimal

Octal to Binary

Binary to Octal

Binary to Hexadecimal

Data Structures
Divide and Conquer

Heaps Algorithm

Dynamic Programming
Graphs

Breadth First Search

Depth First Search

Nearest Neighbour Algorithm

Math

Abs Max

Average

Palindrome String

Shreedharacharya

Perfect Number

Factorial Approximation

Fibonacci Dynamic Programming

Sphenic Number

Relu Function

Sieve of Eratosthenes

Ugly Numbers

Abs Min

Kynea Numbers

Factorial Recursion

Power of Two

Find Max Recursion

Symmetric Derivative

Find Min Recursion

Armstrong Number

Palindrome Number

Simpson Rule

Amicable Numbers

Fibonacci Recursion

Fermats Little Theorem

Eulers Totient

Sigmoid

Find Max

Find Min

Linear Diophantine Eqn

Factors

Prime Check

Palindrome String Recursion

Magic Number

N Bonacci

Numerical Analysis
Others

Swap All Odd and Even Bits

Collatz

Fizz Buzz

Haversine Formula

Tower of Hanoi

Moore Voting Algorithm

Ackermann

Searches

Interpolation Search

Fibonacci Search

Binary Search

+12

More

Linear Search

+11

More

Peak Element

Binary Search Recursion

Ternary Search

Jump Search

Binary Tree Traversal

Sorts

Fisher Yates Shuffle

Merge Sort

+17

More

Gnome Sort

Bubble Sort

+17

More

Radix Sort

Tim Sort

Pigeonhole Sort

Insert Sort

Select Sort

Quick Sort

+17

More

Heap Sort

+13

More

Cocktail Sort

Comb Sort

Shell Sort

Strings

Reverse Words of String

Reverse String

Knuth Morris Prat

Remove Duplicates

Hamming Distance