The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Knight Tour

All Combinations Of Size K

Generate Permutations

Rat In A Maze

Bit Manipulation

Is Power Of Two

Next Power Of Two

Binary Count Setbits

Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Xor Cipher

Key Finder

Caesars Cipher

Keyword Shifted Alphabet

Vigenere Cipher

Conversions

Upper Case Conversion

Decimal to Binary

Hex To RGB

Decimal To Hex

Temperature Conversion

Hex To Decimal

Array Buffer To Base 64

Roman To Decimal

Decimal To Roman

Hex To Binary

Meter To Feet Conversion

Date Day Difference

Oct To Decimal

Title Case Conversion

Binary to Decimal

Lower Case Conversion

Railway Time Conversion

Arbitrary Base

Binary To Hex

Decimal to Octal

Base 64 To Array Buffer

RGB To Hex

Date To Day

Rgb Hsv Conversion

Data Structures
Dynamic Programming

Longest Valid Parentheses

Max Product Of Three

Minimum Cost Path

Trapping Rain Water

Max Non Adjacent Sum

Number Of Subset Equal To Given Sum

Longest Common Subsequence

Zero One Knapsack

Longest Substring Without Repeating Characters

Longest Increasing Subsequence

Tribonacci Number

Longest Palindromic Subsequence

Fibonacci Numbers

Find Month Calendar

Fibonacci Numbers

Fractals

Koch Snowflake

Koch Snowflake

Mandelbrot

Geometry

Convex Hull Graham

Graphs

Dijkstra Smallest Path

Number Of Islands

Breadth First Shortest Path

Bellman Ford

Density

Connected Components

Breadth First Search

Depth First Search Recursive

Prim MST

Node Neighbors

Kruskal MST

Depth First Search Iterative

Dijkstra

Depth First Search

Hashing
Math

Sieve of Eratosthenes

Eulers Totient Function

Euler Method

Arithmetic Geometric Mean

Prime Check

Average Median

Farey Approximation

Midpoint Integration

Degrees to Radians

Square Root

Reverse Polish Notation

Reverse Number

Simpson Integration

Coordinate

Is Pronic

Pow Logarithmic

Collatz Sequence

Softmax

Modular Binary Exponentiation Recursive

Binary Convert

Average Mean

Bisection Method

Leap Year

Decimal Expansion

Find Min

Is Even

Armstrong Number

Radians to Degrees

Sum of Digits

Perfect Cube

Get Euclid GCD

Binary Exponentiation Iterative

Decimal Isolate

Perfect Number

Pi Approximation Monte Carlo

Lucas Series

Permutation And Combination

Is Divisible

Grid Get

Pascal Triangle

Volume

Number of Digits

Linear Sieve

Find Min Iterator

Eulers Totient

Zellers Congruence Algorithm

Sieve of Eratosthenes

Check Kishnamurthy Number

Extended Euclidean GCD

Matrix Multiplication

Aliquot Sum

Factors

While Loop Factorial

Figurate Number

Sum of Geometric Progression

Perfect Square

Polynomial

Mean Square Error

Twin Prime

Matrix Exponentiation Recursive

Find Max Recursion

Co Prime Check

Is Odd

Find Lcm

Binary Exponentiation Recursive

Prime Factors

Find Hcf

Navigation
Others

Tower of Hanoi

Lfu Cache

Lru Cache

Recursive

Eucledian GCD

Binary Equivalent

Subsequence Recursive

Flood Fill

Fibonacci Number Recursive

Searches

Quick Select

Binary Search

+12

More

Linear Search

+11

More

Interpolation Search

Fibonacci Search

Quick Select Search

Ternary Search

Sliding Window

String Search

Binary Search

+12

More

Jump Search

Union Find

Exponential Search

Sorts

Cocktail Shaker Sort

Bead Sort

Stooge Sort

Counting Sort

Radix Sort

Pigeonhole Sort

Odd Even Sort

Topological Sort

Cycle Sort

Quick Sort Recursive

Bogo Sort

Shell Sort

Tim Sort

Merge Sort

+17

More

Flash Sort

Insertion Sort

+16

More

Simplified Wiggle Sort

Find Second Largest Element

Bucket Sort

Selection Sort

+13

More

Alpha Numerical Sort

Intro Sort

Bubble Sort

+17

More

Heap Sort V 2

Comb Sort

Heap Sort

+13

More

Pancake Sort

Gnome Sort

Quick Sort

+17

More

Fisher Yates Shuffle

Strings

Levenshtein Distance

Palindrome

Alpha Numeric Palindrome

Check Palindrome

Reverse String

Levenshtein Distance

Check Rearrange Palindrome

Validate Url

Max Word

Check Pascal Case

Check Camel Case

Hamming Distance

Pattern Matching

Alternative String Arrange

Validate Email

Create Permutations

Validate Credit Card

Scramble Strings

Check Kebab Case

Check Exceeding

Is Palindrome

Permutate String

Dice Coefficient

Max Character

Check Snake Case

Format Phone Number

Check Word Occurrence

Count Vowels

Generate GUID

Check Pangram

Boyer Moore

Check Flat Case

Reverse Words

KMP Pattern Searching

Check Anagram

Palindrome

Timing-Functions

Interval Timer

Get Month Days

Tree

Breadth First Tree Traversal