The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Sudoku Solver

Sudoku Solver

Generate Parentheses

Generate Permutations

All Combinations Of Size K

Rat In A Maze

Knight Tour

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Keyword Shifted Alphabet

Caesar Cipher

XOR Cipher

Morse Code

Vigenere Cipher

Affine Cipher

Key Finder

Conversions

RGB To Hex

Roman To Decimal

Liters To US Gallons

Title Case Conversion

Temperature Conversion

Liters To Imperial Gallons

Array Buffer To Base 64

Decimal to Binary

Ounces To Kilograms

Hex To Binary

Meter To Feet Conversion

Railway Time Conversion

Oct To Decimal

Hex To RGB

Upper Case Conversion

Binary To Hex

Base 64 To Array Buffer

Arbitrary Base

Rgb Hsv Conversion

Decimal To Hex

Decimal to Octal

Hex To Decimal

Binary to Decimal

Date Day Difference

Date To Day

Decimal To Roman

Lower Case Conversion

Data Structures
Divide and Conquer
Dynamic Programming

Floyd Warshall

Max Product Of Three

Longest Valid Parentheses

Minimum Cost Path

Max Consecutive Ones III

Longest Substring Without Repeating Characters

Fast Fibonacci Number

Longest Common Subsequence

Zero One Knapsack

Max Non Adjacent Sum

Trapping Rain Water

Longest Palindromic Subsequence

Tribonacci Number

Number Of Subset Equal To Given Sum

Find Month Calendar

Longest Increasing Subsequence

Fractals

Mandelbrot

Koch Snowflake

Koch Snowflake

Geometry

Convex Hull Graham

Graphs

Node Neighbors

Breadth First Search

Connected Components

Depth First Search Recursive

Kosaraju

Kruskal MST

Density

Binary Lifting

Number Of Islands

Dijkstra

Dijkstra Smallest Path

Breadth First Shortest Path

Prim MST

Bellman Ford

Depth First Search Iterative

LCA Binary Lifting

Depth First Search

Hashing
Math

Matrix Multiplication

Co Prime Check

Degrees to Radians

Get Euclid GCD

Euler's Totient

Sieve of Eratosthenes

Perfect Square

Linear Sieve

Factorial

+11

More

Find Min Iterator

While Loop Factorial

Fibonacci Numbers

+10

More

Collatz Sequence

Is Odd

Average Mean

Mean Square Error

Leap Year

Square Root Logarithmic

Polynomial

Aliquot Sum

Number of Digits

Is Divisible

Juggler Sequence

Liouville Function

Factors

Modular Arithmetic

Pronic Number

Mobius Function

Volume

Farey Approximation

Square Root

Average Median

Radians to Degrees

Int To Base

Hexagonal Number

Find Hcf

Mean Absolute Deviation

Binary Exponentiation Recursive

Signum

Bisection Method

Extended Euclidean GCD

Find Min

Reverse Polish Notation

Check Kishnamurthy Number

Is Square Free

Parity Outlier

Twin Prime

Figurate Number

Armstrong Number

Softmax

Prime Factors

Zellers Congruence Algorithm

Modular Binary Exponentiation Recursive

Reverse Number

Binary Exponentiation Iterative

Is Palindrome Integer Number

Perfect Cube

Decimal Expansion

Arithmetic Geometric Mean

Sum of Geometric Progression

Pow Logarithmic

Midpoint Integration

Circular Arc

Perfect Number

Prime

Euler's Totient

Decimal Isolate

Pi Approximation Monte Carlo

Sum of Digits

Grid Get

Euler Method

Coordinate

Count Numbers Divisible

Find Max Recursion

Simpson Integration

Exponential Function

Matrix Exponentiation Recursive

Friendly Numbers

Lucas Series

Sieve Of Eratosthenes Int Array

Shors Algorithm

Binomial Coefficient

Binary Convert

Permutation And Combination

Factorial

+11

More

Sieve of Eratosthenes

Fibonacci Numbers

+10

More
Matrix

Pascal Triangle

Navigation
Others

Tower of Hanoi

Lru Cache

Lfu Cache

Recursive

Letter Combination

Flood Fill

Subsequence Recursive

Fibonacci Number Recursive

Binary Equivalent

Eucledian GCD

Searches

Binary Search

+14

More

Fibonacci Search

Union Find

String Search

Quick Select Search

Sliding Window

Minesweeper

Exponential Search

Binary Search

+14

More

Jump Search

Ternary Search

Linear Search

+13

More

Interpolation Search

Quick Select

Sorts

Dutch National Flag Sort

Topological Sort

Fisher Yates Shuffle

Bead Sort

Selection Sort

+13

More

Insertion Sort

+17

More

Stooge Sort

Cycle Sort

Odd Even Sort

Intro Sort

Heap Sort V 2

Cocktail Shaker Sort

Flash Sort

Radix Sort

Pancake Sort

Counting Sort

Tim Sort

Quick Sort

+18

More

Find Second Largest Element

Binary Insertion Sort

Bubble Sort

+18

More

Swap Sort

Bogo Sort

Heap Sort

+12

More

Bucket Sort

Quick Sort Recursive

Pigeonhole Sort

Gnome Sort

Comb Sort

Alpha Numerical Sort

Shell Sort

Simplified Wiggle Sort

Strings

Palindrome

Count Letters

Check Kebab Case

KMP Pattern Searching

Levenshtein Distance

Generate GUID

Boyer Moore

Percentage Of Letters

Format Phone Number

Check Rearrange Palindrome

Create Permutations

Check Snake Case

Permutate String

Check Word Occurrence

Alpha Numeric Palindrome

Check Flat Case

Check Pascal Case

Reverse Words

First Unique Character

Check Exceeding

Check Camel Case

Z Function

Validate Credit Card

Hamming Distance

Dice Coefficient

Pattern Matching

Max Character

Count Substrings

Max Word

Validate Email

Count Vowels

Check Pangram

Check Anagram

Scramble Strings

Alternative String Arrange

Reverse String

Check Palindrome

Palindrome

Levenshtein Distance

Timing-Functions

Interval Timer

Get Month Days

Tree

Breadth First Tree Traversal