The Algorithms logo
The Algorithms
AboutDonate
Array

Car Pool

Move Zeroes

Pivot Index

Sorted Squared Array

Validate Subsequence

Backtracking

Open Knight Tour

Bit Manipulation

Swap All Odd and Even Bits

Conversions

Decimal to Any

Decimal to Binary

Decimal to Hexadecimal

Decimal to Octal

Integer To Roman

Binary to Decimal

Binary to Hexadecimal

Binary to Octal

Hexa Decimal To Binary

Hexadecimal to Decimal

Hexadecimal to Octal

Octal to Binary

Octal to Decimal

Octal to Hexadecimal

Roman To Integer

Data Structures
Divide and Conquer
Dynamic Programming

01knapsack Recursive

Kadanes Algorithm

Longest Common Subsequence

Longest Common Substring

Min Number of Jumps

Graphs

Area of Island

Breadth First Search

Depth First Search

Nearest Neighbour Algorithm

Linear Algebra

Lu Decomposition

Math

Two Sum

Armstrong Number

Kynea Numbers

Linear Diophantine Eqn

Abs Max

Abs Min

Amicable Numbers

Average

Euler's Totient

Factorial Approximation

Factorial Recursion

Factors

Fermats Little Theorem

Fibonacci Dynamic Programming

Fibonacci Recursion

Find Max

Find Max Recursion

Find Min

Find Min Recursion

Newton Method

Palindrome Number

Palindrome String

Palindrome String Recursion

Perfect Number

Power of Two

Relu Function

Shreedharacharya

Sieve of Eratosthenes

Sigmoid

Sphenic Number

Symmetric Derivative

N Bonacci

Chinese Remainder Theorem

Collatz

Magic Number

Others

Moore Voting Algorithm

Ackermann

Haversine Formula

Tower of Hanoi

Searches

Binary Tree Traversal

Binary Search

+15

More

Binary Search Recursion

Fibonacci Search

Interpolation Search

Jump Search

Linear Search

+14

More

Peak Element

Ternary Search

Sorts

Fisher Yates Shuffle

Bubble Sort

+19

More

Cocktail Sort

Comb Sort

Count Sort

Gnome Sort

Heap Sort

+15

More

Insert Sort

Pigeonhole Sort

Quick Sort

+19

More

Radix Sort

Select Sort

Shell Sort

+10

More

Tim Sort

Stacks

Balanced Brackets

Strings

Hamming Distance

Isomorphic Strings

Knuth Morris Prat

Remove Duplicates

Reverse String

Reverse Words of String

Tree

Path Sum