The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Sudoku Solver

Rat In A Maze

Sudoku Solver

Generate Permutations

All Combinations Of Size K

Knight Tour

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Keyword Shifted Alphabet

Key Finder

Caesar Cipher

XOR Cipher

Affine Cipher

Vigenere Cipher

Conversions

Liters To Imperial Gallons

Hex To Decimal

Date To Day

Upper Case Conversion

Temperature Conversion

Binary to Decimal

Railway Time Conversion

Decimal To Roman

Roman To Decimal

Base 64 To Array Buffer

Decimal to Binary

Array Buffer To Base 64

Decimal To Hex

Liters To US Gallons

Hex To Binary

Title Case Conversion

Rgb Hsv Conversion

Binary To Hex

Date Day Difference

Hex To RGB

Oct To Decimal

Lower Case Conversion

Ounces To Kilograms

Meter To Feet Conversion

Decimal to Octal

RGB To Hex

Arbitrary Base

Data Structures
Dynamic Programming

Floyd Warshall

Trapping Rain Water

Max Product Of Three

Longest Common Subsequence

Find Month Calendar

Tribonacci Number

Number Of Subset Equal To Given Sum

Longest Increasing Subsequence

Fast Fibonacci Number

Longest Palindromic Subsequence

Minimum Cost Path

Max Non Adjacent Sum

Longest Valid Parentheses

Fibonacci Numbers

+10

More

Longest Substring Without Repeating Characters

Zero One Knapsack

Fibonacci Numbers

+10

More
Fractals

Koch Snowflake

Koch Snowflake

Mandelbrot

Geometry

Convex Hull Graham

Graphs

Number Of Islands

Prim MST

Breadth First Shortest Path

Connected Components

Breadth First Search

Dijkstra

Depth First Search Iterative

Kruskal MST

LCA Binary Lifting

Bellman Ford

Depth First Search Recursive

Kosaraju

Dijkstra Smallest Path

Node Neighbors

Density

Binary Lifting

Depth First Search

Hashing
Math

Sieve of Eratosthenes

Find Hcf

Is Square Free

Euler's Totient

Perfect Cube

Arithmetic Geometric Mean

Euler's Totient

Sum of Digits

Get Euclid GCD

Count Numbers Divisible

Square Root Logarithmic

Circular Arc

Twin Prime

Co Prime Check

Binary Exponentiation Recursive

Pow Logarithmic

Reverse Polish Notation

Degrees to Radians

Mean Square Error

Armstrong Number

Perfect Square

Exponential Function

Friendly Numbers

Is Palindrome Integer Number

Find Min

Simpson Integration

Pi Approximation Monte Carlo

Binary Exponentiation Iterative

Int To Base

Average Median

Farey Approximation

Volume

Shors Algorithm

Extended Euclidean GCD

Reverse Number

Find Min Iterator

Binomial Coefficient

Permutation And Combination

Modular Arithmetic

Euler Method

Binary Convert

Matrix Exponentiation Recursive

Check Kishnamurthy Number

Sieve of Eratosthenes

Lucas Series

While Loop Factorial

Is Odd

Matrix Multiplication

Average Mean

Radians to Degrees

Hexagonal Number

Zellers Congruence Algorithm

Sum of Geometric Progression

Coordinate

Juggler Sequence

Midpoint Integration

Figurate Number

Perfect Number

Prime Factors

Liouville Function

Mobius Function

Number of Digits

Modular Binary Exponentiation Recursive

Square Root

Linear Sieve

Bisection Method

Grid Get

Pronic Number

Decimal Expansion

Softmax

Sieve Of Eratosthenes Int Array

Factors

Polynomial

Is Divisible

Collatz Sequence

Signum

Aliquot Sum

Mean Absolute Deviation

Find Max Recursion

Decimal Isolate

Leap Year

Matrix

Pascal Triangle

Navigation
Others

Tower of Hanoi

Lru Cache

Lfu Cache

Recursive

Subsequence Recursive

Flood Fill

Fibonacci Number Recursive

Binary Equivalent

Letter Combination

Eucledian GCD

Searches

Quick Select

Binary Search

+13

More

Sliding Window

Binary Search

+13

More

Interpolation Search

Linear Search

+12

More

Jump Search

Ternary Search

Quick Select Search

Union Find

Fibonacci Search

Minesweeper

String Search

Exponential Search

Sorts

Cycle Sort

Merge Sort

+17

More

Pancake Sort

Topological Sort

Insertion Sort

+16

More

Stooge Sort

Fisher Yates Shuffle

Gnome Sort

Cocktail Shaker Sort

Bubble Sort

+17

More

Bead Sort

Selection Sort

+13

More

Find Second Largest Element

Bucket Sort

Pigeonhole Sort

Tim Sort

Simplified Wiggle Sort

Heap Sort

+12

More

Alpha Numerical Sort

Swap Sort

Flash Sort

Shell Sort

Intro Sort

Comb Sort

Counting Sort

Radix Sort

Odd Even Sort

Quick Sort Recursive

Binary Insertion Sort

Bogo Sort

Quick Sort

+17

More

Heap Sort V 2

Strings

Levenshtein Distance

Palindrome

Dice Coefficient

KMP Pattern Searching

Count Letters

Check Anagram

Percentage Of Letters

Scramble Strings

Check Camel Case

Count Substrings

First Unique Character

Alternative String Arrange

Max Character

Reverse String

Check Word Occurrence

Count Vowels

Format Phone Number

Boyer Moore

Validate Url

Check Snake Case

Check Flat Case

Check Kebab Case

Max Word

Alpha Numeric Palindrome

Z Function

Permutate String

Check Pascal Case

Check Palindrome

Check Exceeding

Validate Credit Card

Generate GUID

Levenshtein Distance

Validate Email

Create Permutations

Check Rearrange Palindrome

Hamming Distance

Reverse Words

Pattern Matching

Check Pangram

Palindrome

Timing-Functions

Get Month Days

Interval Timer

Tree

Breadth First Tree Traversal