The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Generate Parentheses

Rat In A Maze

Sudoku Solver

Knight Tour

All Combinations Of Size K

Generate Permutations

Sudoku Solver

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Vigenere Cipher

Keyword Shifted Alphabet

Key Finder

Affine Cipher

XOR Cipher

Caesar Cipher

Conversions

Date Day Difference

Decimal To Hex

Upper Case Conversion

Lower Case Conversion

Temperature Conversion

Title Case Conversion

Hex To Decimal

Liters To Imperial Gallons

Date To Day

Hex To RGB

Binary To Hex

Meter To Feet Conversion

Array Buffer To Base 64

RGB To Hex

Arbitrary Base

Rgb Hsv Conversion

Ounces To Kilograms

Decimal To Roman

Liters To US Gallons

Oct To Decimal

Decimal to Binary

Roman To Decimal

Base 64 To Array Buffer

Binary to Decimal

Hex To Binary

Decimal to Octal

Railway Time Conversion

Data Structures
Divide and Conquer
Dynamic Programming

Floyd Warshall

Zero One Knapsack

Fast Fibonacci Number

Find Month Calendar

Tribonacci Number

Trapping Rain Water

Longest Common Subsequence

Max Product Of Three

Longest Increasing Subsequence

Longest Palindromic Subsequence

Minimum Cost Path

Max Consecutive Ones III

Longest Substring Without Repeating Characters

Max Non Adjacent Sum

Number Of Subset Equal To Given Sum

Longest Valid Parentheses

Fractals

Mandelbrot

Koch Snowflake

Koch Snowflake

Geometry

Convex Hull Graham

Graphs

Depth First Search

Bellman Ford

Breadth First Search

Node Neighbors

Connected Components

Kruskal MST

LCA Binary Lifting

Prim MST

Depth First Search Iterative

Number Of Islands

Depth First Search Recursive

Dijkstra Smallest Path

Breadth First Shortest Path

Kosaraju

Dijkstra

Binary Lifting

Density

Hashing
Math

Reverse Number

Factorial

+11

More

Matrix Multiplication

Prime Factors

Volume

Binary Exponentiation Iterative

Is Odd

Pi Approximation Monte Carlo

Modular Binary Exponentiation Recursive

Degrees to Radians

Euler Method

Binary Exponentiation Recursive

Permutation And Combination

Simpson Integration

Radians to Degrees

Co Prime Check

Zellers Congruence Algorithm

Perfect Number

Sieve Of Eratosthenes Int Array

Find Min

Coordinate

Fibonacci Numbers

+10

More

Get Euclid GCD

Aliquot Sum

Average Mean

Euler's Totient

Farey Approximation

Mean Square Error

Square Root

Leap Year

Check Kishnamurthy Number

Linear Sieve

Juggler Sequence

Decimal Expansion

Matrix Exponentiation Recursive

Arithmetic Geometric Mean

Int To Base

Modular Arithmetic

Perfect Square

Square Root Logarithmic

Binary Convert

Signum

Bisection Method

Armstrong Number

Grid Get

Number of Digits

Reverse Polish Notation

Decimal Isolate

Find Hcf

Liouville Function

Factors

Lucas Series

Is Divisible

Shors Algorithm

While Loop Factorial

Euler's Totient

Find Min Iterator

Circular Arc

Figurate Number

Is Palindrome Integer Number

Pronic Number

Twin Prime

Perfect Cube

Softmax

Polynomial

Binomial Coefficient

Sieve of Eratosthenes

Sum of Digits

Pow Logarithmic

Is Square Free

Prime

Exponential Function

Mean Absolute Deviation

Friendly Numbers

Hexagonal Number

Find Max Recursion

Mobius Function

Extended Euclidean GCD

Sum of Geometric Progression

Count Numbers Divisible

Average Median

Midpoint Integration

Collatz Sequence

Factorial

+11

More

Fibonacci Numbers

+10

More

Sieve of Eratosthenes

Matrix

Pascal Triangle

Navigation
Others

Tower of Hanoi

Lfu Cache

Lru Cache

Recursive

Eucledian GCD

Flood Fill

Letter Combination

Binary Equivalent

Subsequence Recursive

Fibonacci Number Recursive

Searches

String Search

Union Find

Sliding Window

Minesweeper

Fibonacci Search

Interpolation Search

Binary Search

+13

More

Quick Select Search

Linear Search

+12

More

Jump Search

Exponential Search

Ternary Search

Binary Search

+13

More

Quick Select

Sorts

Pigeonhole Sort

Shell Sort

Counting Sort

Topological Sort

Fisher Yates Shuffle

Heap Sort V 2

Bubble Sort

+18

More

Cycle Sort

Bead Sort

Swap Sort

Bogo Sort

Cocktail Shaker Sort

Insertion Sort

+17

More

Intro Sort

Flash Sort

Alpha Numerical Sort

Dutch National Flag Sort

Tim Sort

Selection Sort

+13

More

Gnome Sort

Odd Even Sort

Stooge Sort

Bucket Sort

Find Second Largest Element

Binary Insertion Sort

Heap Sort

+12

More

Simplified Wiggle Sort

Comb Sort

Radix Sort

Pancake Sort

Quick Sort Recursive

Quick Sort

+18

More
Strings

Palindrome

Validate Email

Is Palindrome

Check Word Occurrence

Z Function

Permutate String

Max Word

Validate Credit Card

Boyer Moore

Percentage Of Letters

Check Exceeding

Count Vowels

Hamming Distance

Check Palindrome

Check Kebab Case

Dice Coefficient

Scramble Strings

Check Pangram

Count Substrings

Alternative String Arrange

Count Letters

Format Phone Number

Check Rearrange Palindrome

Reverse Words

Levenshtein Distance

Create Permutations

Generate GUID

Alpha Numeric Palindrome

Check Flat Case

Pattern Matching

Check Pascal Case

Check Camel Case

First Unique Character

Validate Url

Reverse String

Check Snake Case

Max Character

KMP Pattern Searching

Check Anagram

Palindrome

Levenshtein Distance

Timing-Functions

Interval Timer

Get Month Days

Tree

Breadth First Tree Traversal