The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Sudoku Solver

Generate Parentheses

Sudoku Solver

All Combinations Of Size K

Knight Tour

Rat In A Maze

Generate Permutations

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Vigenere Cipher

Caesar Cipher

Morse Code

Keyword Shifted Alphabet

Key Finder

XOR Cipher

Affine Cipher

Conversions

Decimal to Octal

Lower Case Conversion

Temperature Conversion

Date Day Difference

Decimal to Binary

Decimal To Hex

Ounces To Kilograms

Binary to Decimal

Meter To Feet Conversion

Array Buffer To Base 64

Hex To Binary

Oct To Decimal

Base 64 To Array Buffer

Title Case Conversion

Hex To Decimal

Liters To US Gallons

Roman To Decimal

Upper Case Conversion

Rgb Hsv Conversion

Date To Day

RGB To Hex

Arbitrary Base

Hex To RGB

Railway Time Conversion

Binary To Hex

Liters To Imperial Gallons

Decimal To Roman

Data Structures
Dynamic Programming

Number Of Subset Equal To Given Sum

Minimum Cost Path

Max Product Of Three

Find Month Calendar

Zero One Knapsack

Trapping Rain Water

Longest Palindromic Subsequence

Longest Valid Parentheses

Fibonacci Numbers

+10

More

Max Non Adjacent Sum

Longest Substring Without Repeating Characters

Max Consecutive Ones III

Longest Common Subsequence

Longest Increasing Subsequence

Tribonacci Number

Fast Fibonacci Number

Fibonacci Numbers

+10

More

Floyd Warshall

Fractals

Koch Snowflake

Koch Snowflake

Mandelbrot

Geometry

Convex Hull Graham

Graphs

Kosaraju

Kruskal MST

Density

Number Of Islands

Prim MST

LCA Binary Lifting

Dijkstra

Node Neighbors

Breadth First Search

Breadth First Shortest Path

Depth First Search Recursive

Depth First Search Iterative

Bellman Ford

Connected Components

Dijkstra Smallest Path

Binary Lifting

Depth First Search

Hashing
Math

Sieve of Eratosthenes

Factors

Binary Convert

Mean Absolute Deviation

Matrix Multiplication

Arithmetic Geometric Mean

Lucas Series

Is Square Free

Perfect Cube

Midpoint Integration

While Loop Factorial

Decimal Expansion

Permutation And Combination

Is Odd

Liouville Function

Decimal Isolate

Int To Base

Grid Get

Modular Arithmetic

Square Root Logarithmic

Count Numbers Divisible

Twin Prime

Figurate Number

Hexagonal Number

Binomial Coefficient

Shors Algorithm

Perfect Square

Pi Approximation Monte Carlo

Get Euclid GCD

Find Hcf

Parity Outlier

Mobius Function

Find Min Iterator

Sieve of Eratosthenes

Degrees to Radians

Volume

Exponential Function

Mean Square Error

Square Root

Prime Factors

Softmax

Binary Exponentiation Recursive

Coordinate

Simpson Integration

Armstrong Number

Linear Sieve

Is Palindrome Integer Number

Collatz Sequence

Co Prime Check

Zellers Congruence Algorithm

Number of Digits

Extended Euclidean GCD

Leap Year

Bisection Method

Find Max Recursion

Sum of Digits

Matrix Exponentiation Recursive

Reverse Number

Euler Method

Signum

Perfect Number

Aliquot Sum

Pronic Number

Check Kishnamurthy Number

Friendly Numbers

Pow Logarithmic

Average Median

Reverse Polish Notation

Polynomial

Juggler Sequence

Radians to Degrees

Circular Arc

Modular Binary Exponentiation Recursive

Farey Approximation

Binary Exponentiation Iterative

Euler's Totient

Is Divisible

Average Mean

Sieve Of Eratosthenes Int Array

Euler's Totient

Find Min

Sum of Geometric Progression

Matrix

Pascal Triangle

Navigation
Others

Tower of Hanoi

Lfu Cache

Lru Cache

Recursive

Eucledian GCD

Flood Fill

Fibonacci Number Recursive

Letter Combination

Subsequence Recursive

Binary Equivalent

Searches

Jump Search

Interpolation Search

Linear Search

+13

More

Binary Search

+14

More

Ternary Search

Sliding Window

Fibonacci Search

Exponential Search

Quick Select Search

String Search

Minesweeper

Union Find

Binary Search

+14

More

Quick Select

Sorts

Quick Sort

+18

More

Comb Sort

Quick Sort Recursive

Counting Sort

Radix Sort

Merge Sort

+18

More

Simplified Wiggle Sort

Binary Insertion Sort

Heap Sort V 2

Swap Sort

Bogo Sort

Bead Sort

Shell Sort

Insertion Sort

+17

More

Odd Even Sort

Tim Sort

Bucket Sort

Heap Sort

+12

More

Cycle Sort

Topological Sort

Alpha Numerical Sort

Fisher Yates Shuffle

Dutch National Flag Sort

Selection Sort

+13

More

Bubble Sort

+18

More

Pigeonhole Sort

Flash Sort

Find Second Largest Element

Gnome Sort

Cocktail Shaker Sort

Intro Sort

Stooge Sort

Pancake Sort

Strings

Levenshtein Distance

Palindrome

Palindrome

Count Letters

Check Anagram

Count Vowels

Check Kebab Case

Percentage Of Letters

First Unique Character

Alternative String Arrange

Reverse String

Hamming Distance

Check Rearrange Palindrome

Alpha Numeric Palindrome

Z Function

Create Permutations

Dice Coefficient

Max Character

Scramble Strings

Check Snake Case

Permutate String

Validate Email

Check Flat Case

Format Phone Number

Count Substrings

Pattern Matching

Check Pascal Case

Check Exceeding

Check Palindrome

Check Camel Case

Reverse Words

KMP Pattern Searching

Validate Credit Card

Levenshtein Distance

Check Pangram

Max Word

Generate GUID

Check Word Occurrence

Boyer Moore

Timing-Functions

Get Month Days

Interval Timer

Tree

Breadth First Tree Traversal