The Algorithms logo
The Algorithms
AboutDonate
Backtracking

All Combinations Of Size K

Generate Permutations

Knight Tour

Rat In A Maze

Bit Manipulation

Next Power Of Two

Is Power Of Two

Binary Count Setbits

Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

Caesars Cipher

Keyword Shifted Alphabet

Xor Cipher

Vigenere Cipher

Key Finder

Conversions

Base 64 To Array Buffer

Meter To Feet Conversion

Decimal To Roman

Arbitrary Base

Oct To Decimal

Hex To Binary

RGB To Hex

Binary to Decimal

Date Day Difference

Decimal to Binary

Hex To Decimal

Roman To Decimal

Array Buffer To Base 64

Decimal to Octal

Lower Case Conversion

Binary To Hex

Decimal To Hex

Railway Time Conversion

Rgb Hsv Conversion

Temperature Conversion

Title Case Conversion

Hex To RGB

Upper Case Conversion

Date To Day

Data Structures
Divide and Conquer
Dynamic Programming

Tribonacci Number

Longest Substring Without Repeating Characters

Longest Palindromic Subsequence

Trapping Rain Water

Longest Valid Parentheses

Max Product Of Three

Zero One Knapsack

Max Non Adjacent Sum

Find Month Calendar

Number Of Subset Equal To Given Sum

Longest Common Subsequence

Minimum Cost Path

Longest Increasing Subsequence

Fractals

Mandelbrot

Koch Snowflake

Geometry

Convex Hull Graham

Graphs

Depth First Search

Dijkstra Smallest Path

Dijkstra

Node Neighbors

Connected Components

Depth First Search Recursive

Bellman Ford

Kruskal MST

Breadth First Search

Prim MST

Depth First Search Iterative

Number Of Islands

Density

Hashing
Math

Polynomial

Aliquot Sum

Bisection Method

Radians to Degrees

Figurate Number

Euler Method

Digit Sum

Find Hcf

Co Prime Check

Decimal Isolate

Binary Exponentiation Iterative

Coordinate

Sieve of Eratosthenes

Pascal Triangle

While Loop Factorial

Find Min

Get Euclid GCD

Reverse Polish Notation

Reverse Number

Check Kishnamurthy Number

Perfect Square

Permutation And Combination

Eulers Totient

Find Lcm

Sum of Digits

Degrees to Radians

Midpoint Integration

Leap Year

Volume

Eulers Totient Function

Prime Factors

Grid Get

Sum of Geometric Progression

Binary Convert

Simpson Integration

Lucas Series

Factors

Is Divisible

Fibonacci Numbers

Modular Binary Exponentiation Recursive

Mean Square Error

Matrix Exponentiation Recursive

Is Odd

Linear Sieve

Matrix Multiplication

Binary Exponentiation Recursive

Softmax

Square Root

Perfect Cube

Average Mean

Is Even

Perfect Number

Pow Logarithmic

Prime Check

Armstrong Number

Number of Digits

Farey Approximation

Pi Approximation Monte Carlo

Average Median

Extended Euclidean GCD

Sieve of Eratosthenes

Fibonacci Numbers

Navigation
Others

Lfu Cache

Lru Cache

Tower of Hanoi

Recursive

Subsequence Recursive

Flood Fill

Fibonacci Number Recursive

Eucledian GCD

Binary Equivalent

Searches

Sliding Window

Interpolation Search

Quick Select Search

Exponential Search

String Search

Ternary Search

Fibonacci Search

Binary Search

+12

More

Union Find

Linear Search

+11

More

Jump Search

Quick Select

Binary Search

+12

More
Sorts

Insertion Sort

+15

More

Wiggle Sort

Cycle Sort

Quick Sort

+17

More

Shell Sort

Find Second Largest Element

Bogo Sort

Flash Sort

Bead Sort

Radix Sort

Bucket Sort

Heap Sort

+13

More

Heap Sort V 2

Gnome Sort

Pancake Sort

Comb Sort

Bubble Sort

+15

More

Fisher Yates Shuffle

Pigeonhole Sort

Topological Sort

Selection Sort

+12

More

Tim Sort

Intro Sort

Cocktail Shaker Sort

Odd Even Sort

Quick Sort Recursive

Counting Sort

Strings

Check Palindrome

Hamming Distance

Check Pangram

KMP Pattern Searching

Reverse String

Alpha Numeric Palindrome

Check Pascal Case

Pattern Matching

Check Snake Case

Generate GUID

Check Camel Case

Max Character

Check Kebab Case

Check Flat Case

Check Word Occurrence

Check Anagram

Dice Coefficient

Alternative String Arrange

Check Rearrange Palindrome

Scramble Strings

Validate Email

Create Permutations

Max Word

Check Vowels

Format Phone Number

Reverse Words

Validate Credit Card

Levenshtein Distance

Palindrome

Levenshtein Distance

Palindrome

Timing-Functions

Interval Timer

Get Month Days

Tree

Breadth First Tree Traversal