The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Rat In A Maze

Knight Tour

All Combinations Of Size K

Generate Permutations

Bit Manipulation

Next Power Of Two

Is Power Of Two

Binary Count Setbits

Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Vigenere Cipher

Key Finder

Caesars Cipher

Keyword Shifted Alphabet

Xor Cipher

Conversions

Decimal to Binary

Array Buffer To Base 64

Lower Case Conversion

Temperature Conversion

Binary to Decimal

Hex To Decimal

Arbitrary Base

Decimal to Octal

Date To Day

Upper Case Conversion

Rgb Hsv Conversion

Decimal To Hex

Hex To RGB

Date Day Difference

Meter To Feet Conversion

Binary To Hex

Oct To Decimal

RGB To Hex

Decimal To Roman

Railway Time Conversion

Roman To Decimal

Hex To Binary

Title Case Conversion

Base 64 To Array Buffer

Data Structures
Dynamic Programming

Fibonacci Numbers

Longest Substring Without Repeating Characters

Longest Common Subsequence

Max Non Adjacent Sum

Trapping Rain Water

Longest Valid Parentheses

Zero One Knapsack

Tribonacci Number

Max Product Of Three

Number Of Subset Equal To Given Sum

Longest Palindromic Subsequence

Longest Increasing Subsequence

Fibonacci Numbers

Find Month Calendar

Minimum Cost Path

Fractals

Mandelbrot

Koch Snowflake

Koch Snowflake

Geometry

Convex Hull Graham

Graphs

Depth First Search

Prim MST

Depth First Search Iterative

Node Neighbors

Connected Components

Dijkstra Smallest Path

Dijkstra

Breadth First Search

Density

Kruskal MST

Bellman Ford

Breadth First Shortest Path

Depth First Search Recursive

Number Of Islands

Hashing
Math

Lucas Series

Is Divisible

Reverse Polish Notation

Square Root

Get Euclid GCD

Average Median

Average Mean

Reverse Number

Eulers Totient Function

Degrees to Radians

Bisection Method

Find Min

Find Hcf

Modular Binary Exponentiation Recursive

Sum of Geometric Progression

Pi Approximation Monte Carlo

Midpoint Integration

Eulers Totient

Coordinate

Pow Logarithmic

Extended Euclidean GCD

Pascal Triangle

Grid Get

Co Prime Check

Euler Method

Factors

Aliquot Sum

Leap Year

Volume

Simpson Integration

Figurate Number

Permutation And Combination

Sieve of Eratosthenes

Softmax

Prime Factors

Sum of Digits

Linear Sieve

Matrix Multiplication

Decimal Isolate

Perfect Cube

Perfect Number

Armstrong Number

Binary Convert

Farey Approximation

Perfect Square

Find Lcm

While Loop Factorial

Polynomial

Is Odd

Is Even

Matrix Exponentiation Recursive

Radians to Degrees

Prime Check

Binary Exponentiation Recursive

Arithmetic Geometric Mean

Binary Exponentiation Iterative

Mean Square Error

Number of Digits

Check Kishnamurthy Number

Sieve of Eratosthenes

Navigation
Others

Tower of Hanoi

Lfu Cache

Lru Cache

Recursive

Binary Equivalent

Flood Fill

Subsequence Recursive

Fibonacci Number Recursive

Eucledian GCD

Searches

Quick Select

Binary Search

+12

More

Jump Search

Quick Select Search

String Search

Union Find

Interpolation Search

Fibonacci Search

Linear Search

+11

More

Sliding Window

Ternary Search

Exponential Search

Binary Search

+12

More
Sorts

Heap Sort V 2

Wiggle Sort

Pancake Sort

Cocktail Shaker Sort

Selection Sort

+12

More

Counting Sort

Shell Sort

Comb Sort

Cycle Sort

Quick Sort Recursive

Flash Sort

Insertion Sort

+15

More

Fisher Yates Shuffle

Gnome Sort

Quick Sort

+17

More

Heap Sort

+13

More

Bead Sort

Bubble Sort

+16

More

Bucket Sort

Merge Sort

+17

More

Odd Even Sort

Topological Sort

Alpha Numerical Sort

Radix Sort

Find Second Largest Element

Intro Sort

Bogo Sort

Tim Sort

Pigeonhole Sort

Strings

Palindrome

Levenshtein Distance

Reverse String

Check Palindrome

Check Camel Case

Validate Credit Card

Check Flat Case

Validate Email

Check Anagram

Check Rearrange Palindrome

Alpha Numeric Palindrome

Max Word

Levenshtein Distance

Hamming Distance

Validate Url

Format Phone Number

Pattern Matching

Check Snake Case

Check Pangram

Check Word Occurrence

Permutate String

Count Vowels

KMP Pattern Searching

Alternative String Arrange

Dice Coefficient

Create Permutations

Generate GUID

Check Kebab Case

Check Pascal Case

Max Character

Scramble Strings

Reverse Words

Palindrome

Timing-Functions

Get Month Days

Interval Timer

Tree

Breadth First Tree Traversal