The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Knight Tour

Generate Permutations

Rat In A Maze

All Combinations Of Size K

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Affine Cipher

XOR Cipher

Vigenere Cipher

Keyword Shifted Alphabet

Key Finder

Caesar Cipher

Conversions

Date To Day

Rgb Hsv Conversion

RGB To Hex

Decimal to Binary

Binary To Hex

Decimal To Roman

Upper Case Conversion

Decimal To Hex

Roman To Decimal

Date Day Difference

Arbitrary Base

Decimal to Octal

Title Case Conversion

Hex To Binary

Binary to Decimal

Meter To Feet Conversion

Base 64 To Array Buffer

Hex To RGB

Temperature Conversion

Hex To Decimal

Lower Case Conversion

Oct To Decimal

Array Buffer To Base 64

Railway Time Conversion

Data Structures
Divide and Conquer
Dynamic Programming

Longest Increasing Subsequence

Longest Palindromic Subsequence

Longest Common Subsequence

Longest Substring Without Repeating Characters

Tribonacci Number

Zero One Knapsack

Max Product Of Three

Number Of Subset Equal To Given Sum

Minimum Cost Path

Find Month Calendar

Max Non Adjacent Sum

Longest Valid Parentheses

Trapping Rain Water

Floyd Warshall

Fractals

Mandelbrot

Koch Snowflake

Koch Snowflake

Geometry

Convex Hull Graham

Graphs

Depth First Search

Prim MST

Depth First Search Recursive

Depth First Search Iterative

Number Of Islands

Density

Kruskal MST

Dijkstra Smallest Path

Connected Components

Breadth First Search

Bellman Ford

Node Neighbors

Breadth First Shortest Path

Dijkstra

Hashing
Math

Sieve of Eratosthenes

Fibonacci Numbers

+11

More

Figurate Number

Check Kishnamurthy Number

Average Mean

Circular Arc

Liouville Function

Mean Square Error

Perfect Number

Collatz Sequence

Eulers Totient Function

Juggler Sequence

Decimal Expansion

Arithmetic Geometric Mean

Farey Approximation

Degrees to Radians

Binomial Coefficient

Perfect Square

Radians to Degrees

Binary Exponentiation Iterative

Prime Check

Mobius Function

Factors

Fibonacci Numbers

+11

More

Is Even

Zellers Congruence Algorithm

Simpson Integration

Shors Algorithm

Sum of Geometric Progression

Aliquot Sum

Polynomial

Permutation And Combination

Prime Factors

Armstrong Number

Reverse Number

Sum of Digits

Eulers Totient

Average Median

Pow Logarithmic

Find Hcf

Pascal Triangle

Bisection Method

Midpoint Integration

Pi Approximation Monte Carlo

Sieve of Eratosthenes

Twin Prime

Leap Year

Matrix Multiplication

Find Min Iterator

Get Euclid GCD

Number of Digits

Find Lcm

Find Max Recursion

Modular Binary Exponentiation Recursive

Extended Euclidean GCD

Square Root

Euler Method

Grid Get

Find Min

Volume

Co Prime Check

Perfect Cube

Is Odd

Decimal Isolate

Reverse Polish Notation

While Loop Factorial

Softmax

Lucas Series

Is Divisible

Coordinate

Is Pronic

Is Square Free

Binary Exponentiation Recursive

Matrix Exponentiation Recursive

Linear Sieve

Binary Convert

Navigation
Others

Lru Cache

Lfu Cache

Tower of Hanoi

Recursive

Eucledian GCD

Subsequence Recursive

Binary Equivalent

Flood Fill

Fibonacci Number Recursive

Searches

Binary Search

+13

More

Interpolation Search

Ternary Search

Sliding Window

Quick Select Search

Linear Search

+11

More

String Search

Fibonacci Search

Jump Search

Minesweeper

Union Find

Exponential Search

Quick Select

Binary Search

+13

More
Sorts

Bucket Sort

Find Second Largest Element

Shell Sort

Bogo Sort

Heap Sort V 2

Insertion Sort

+17

More

Cycle Sort

Tim Sort

Counting Sort

Fisher Yates Shuffle

Odd Even Sort

Bubble Sort

+17

More

Heap Sort

+13

More

Gnome Sort

Selection Sort

+13

More

Quick Sort

+18

More

Cocktail Shaker Sort

Pigeonhole Sort

Alpha Numerical Sort

Flash Sort

Bead Sort

Intro Sort

Radix Sort

Comb Sort

Quick Sort Recursive

Pancake Sort

Topological Sort

Stooge Sort

Simplified Wiggle Sort

Strings

Levenshtein Distance

Palindrome

Palindrome

Generate GUID

First Unique Character

Check Palindrome

Alternative String Arrange

Max Word

Hamming Distance

Check Pangram

KMP Pattern Searching

Dice Coefficient

Format Phone Number

Max Character

Check Pascal Case

Count Vowels

Reverse Words

Check Anagram

Check Word Occurrence

Levenshtein Distance

Check Kebab Case

Permutate String

Validate Credit Card

Boyer Moore

Count Substrings

Pattern Matching

Check Rearrange Palindrome

Validate Url

Create Permutations

Check Snake Case

Check Camel Case

Check Flat Case

Reverse String

Alpha Numeric Palindrome

Scramble Strings

Validate Email

Check Exceeding

Timing-Functions

Interval Timer

Get Month Days

Tree

Breadth First Tree Traversal