The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Rat In A Maze

Generate Parentheses

Sudoku Solver

All Combinations Of Size K

Generate Permutations

Knight Tour

Sudoku Solver

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

XOR Cipher

Key Finder

Morse Code

Affine Cipher

Caesar Cipher

Vigenere Cipher

Keyword Shifted Alphabet

Conversions

Decimal to Octal

Date Day Difference

Railway Time Conversion

Decimal To Roman

Hex To Decimal

Rgb Hsv Conversion

Oct To Decimal

Arbitrary Base

Decimal To Hex

Decimal to Binary

Upper Case Conversion

Base 64 To Array Buffer

Lower Case Conversion

Hex To Binary

Liters To US Gallons

Hex To RGB

Title Case Conversion

Date To Day

RGB To Hex

Binary to Decimal

Liters To Imperial Gallons

Binary To Hex

Array Buffer To Base 64

Ounces To Kilograms

Temperature Conversion

Roman To Decimal

Meter To Feet Conversion

Data Structures
Divide and Conquer
Dynamic Programming

Minimum Cost Path

Find Month Calendar

Longest Increasing Subsequence

Longest Valid Parentheses

Fast Fibonacci Number

Tribonacci Number

Number Of Subset Equal To Given Sum

Trapping Rain Water

Longest Common Subsequence

Longest Palindromic Subsequence

Zero One Knapsack

Max Non Adjacent Sum

Max Consecutive Ones III

Longest Substring Without Repeating Characters

Max Product Of Three

Floyd Warshall

Fractals

Koch Snowflake

Koch Snowflake

Mandelbrot

Geometry

Convex Hull Graham

Graphs

Depth First Search

Depth First Search Iterative

Breadth First Search

Number Of Islands

LCA Binary Lifting

Depth First Search Recursive

Bellman Ford

Dijkstra Smallest Path

Binary Lifting

Node Neighbors

Density

Kruskal MST

Breadth First Shortest Path

Prim MST

Kosaraju

Connected Components

Dijkstra

Hashing
Math

Fibonacci Numbers

+10

More

Sieve of Eratosthenes

Factorial

+11

More

Perfect Cube

Perfect Square

Perfect Number

Radians to Degrees

Binary Exponentiation Iterative

Is Divisible

While Loop Factorial

Decimal Expansion

Circular Arc

Binary Exponentiation Recursive

Euler's Totient

Reverse Number

Liouville Function

Check Kishnamurthy Number

Leap Year

Aliquot Sum

Mobius Function

Is Odd

Farey Approximation

Find Min

Armstrong Number

Decimal Isolate

Friendly Numbers

Number of Digits

Coordinate

Prime Factors

Twin Prime

Modular Binary Exponentiation Recursive

Factors

Get Euclid GCD

Find Hcf

Volume

Co Prime Check

Parity Outlier

Mean Square Error

Grid Get

Factorial

+11

More

Square Root

Midpoint Integration

Modular Arithmetic

Matrix Exponentiation Recursive

Arithmetic Geometric Mean

Count Numbers Divisible

Juggler Sequence

Binary Convert

Matrix Multiplication

Pow Logarithmic

Find Min Iterator

Binomial Coefficient

Hexagonal Number

Pi Approximation Monte Carlo

Signum

Sum of Digits

Square Root Logarithmic

Softmax

Euler Method

Figurate Number

Permutation And Combination

Is Square Free

Euler's Totient

Sum of Geometric Progression

Extended Euclidean GCD

Is Palindrome Integer Number

Pronic Number

Find Max Recursion

Int To Base

Shors Algorithm

Average Median

Mean Absolute Deviation

Simpson Integration

Sieve of Eratosthenes

Sieve Of Eratosthenes Int Array

Fibonacci Numbers

+10

More

Collatz Sequence

Bisection Method

Degrees to Radians

Polynomial

Exponential Function

Zellers Congruence Algorithm

Reverse Polish Notation

Lucas Series

Linear Sieve

Average Mean

Matrix

Pascal Triangle

Navigation
Others

Lru Cache

Lfu Cache

Tower of Hanoi

Recursive

Fibonacci Number Recursive

Flood Fill

Subsequence Recursive

Binary Equivalent

Letter Combination

Eucledian GCD

Searches

Sliding Window

Linear Search

+12

More

Ternary Search

Fibonacci Search

Binary Search

+13

More

String Search

Exponential Search

Union Find

Quick Select Search

Jump Search

Minesweeper

Interpolation Search

Quick Select

Binary Search

+13

More
Sorts

Shell Sort

Bubble Sort

+18

More

Bogo Sort

Gnome Sort

Intro Sort

Selection Sort

+13

More

Cycle Sort

Cocktail Shaker Sort

Stooge Sort

Bucket Sort

Dutch National Flag Sort

Binary Insertion Sort

Flash Sort

Find Second Largest Element

Comb Sort

Fisher Yates Shuffle

Tim Sort

Topological Sort

Swap Sort

Pancake Sort

Heap Sort

+12

More

Simplified Wiggle Sort

Pigeonhole Sort

Quick Sort

+18

More

Radix Sort

Bead Sort

Odd Even Sort

Insertion Sort

+17

More

Counting Sort

Alpha Numerical Sort

Quick Sort Recursive

Heap Sort V 2

Strings

Check Palindrome

Count Vowels

Check Word Occurrence

Check Flat Case

Alpha Numeric Palindrome

Generate GUID

Validate Credit Card

Reverse String

Validate Url

Count Substrings

Validate Email

Pattern Matching

Hamming Distance

Reverse Words

Count Letters

Create Permutations

Scramble Strings

Alternative String Arrange

Check Kebab Case

Levenshtein Distance

Check Camel Case

Check Anagram

Permutate String

Max Word

Z Function

First Unique Character

Check Snake Case

Boyer Moore

Check Rearrange Palindrome

Check Pangram

KMP Pattern Searching

Max Character

Check Pascal Case

Format Phone Number

Percentage Of Letters

Check Exceeding

Dice Coefficient

Levenshtein Distance

Palindrome

Palindrome

Timing-Functions

Get Month Days

Interval Timer

Tree

Breadth First Tree Traversal