The Algorithms logo
The Algorithms
Audio Filters

Show Response

Butterworth Filter


N Queens Math

Knight Tour

Rat in Maze

All Combinations

Hamiltonian Cycle

All Permutations

All Subsequences

Sum of Subsets

Bit Manipulation

Binary or Operator

Binary Count Trailing Zeros

Binary and Operator

Binary Count Setbits

Binary Xor Operator

Single Bit Manipulation Operations

Gray Code Sequence

Binary Twos Complement

Count Number of One Bits

Count 1s Brian Kernighan Method

Boolean Algebra

Quine Mc Cluskey

Cellular Automata

Nagel Schrekenberg

One Dimensional

Conways Game of Life


Rsa Factorization

Brute Force Caesar Cipher

Deterministic Miller Rabin

Rsa Cipher

Trafid Cipher


Rail Fence Cipher

Affine Cipher

Mixed Keyword Cypher

Transposition Cipher

Enigma Machine 2

Shuffled Shift Cipher

Porta Cipher

Caesar Cipher

Transposition Cipher Encrypt Decrypt File

Vigenere Cipher

Elgamal Key Generator

Xor Cipher

Diffie Hellman

Beaufort Cipher

Simple Keyword Cypher

Mono Alphabetic Ciphers

Playfair Cipher

Rsa Key Generator

Cryptomath Module

Onepad Cipher

Morse Code

Rabin Miller

Simple Substitution Cipher

Decrypt Caesar with Chi Squared

Baconian Cipher

Hill Cipher


Lempel Ziv

Lempel Ziv Decompress

Burrows Wheeler

Peak Signal to Noise Ratio

Computer Vision

Pooling Functions

Mean Threshold

Harris Corner

Mosaic Augmentation

Flip Augmentation

Cnn Classification


Decimal to Octal

Binary to Octal

Length Conversion

Hex to Bin

Weight Conversion

Decimal to Any

Decimal to Binary Recursion

Molecular Chemistry

Rgb Hsv Conversion

Pressure Conversions

Temperature Conversions

Octal to Decimal

Decimal to Hexadecimal

Prefix Conversions

Roman Numerals

Prefix Conversions String

Binary to Hexadecimal

Binary to Decimal

Hexadecimal to Decimal

Volume Conversions

Decimal to Binary

Data Structures

Hash Table with Linked List

Quadratic Probing

Randomized Heap

Stack with Doubly Linked List

Next Greater Element

Infix to Prefix Conversion

Postfix Evaluation

Stack with Singly Linked List

Infix to Postfix Conversion

Prefix Evaluation

Evaluate Postfix Notations

Balanced Parentheses

Dijkstras Two Stack Algorithm

Stock Span Problem

Lowest Common Ancestor

Binary Search Tree Recursive

Merge Two Binary Trees

Non Recursive Segment Tree

Number of Possible Binary Trees

Binary Tree Traversals

Binary Search Tree

Alternate Disjoint Set

Double Ended Queue

Queue on Pseudo Stack

Circular Queue Linked List

Priority Queue Using List

Middle Element of Linked List

Doubly Linked List

Doubly Linked List Two

Singly Linked List

Circular Linked List

Digital Image Processing
Divide and Conquer

Heaps Algorithm Iterative

Kth Order Statistic

Closest Pair of Points

Max Subarray Sum

Max Difference Pair

Strassen Matrix Multiplication

Heaps Algorithm

Dynamic Programming

Integer Partition

Fractional Knapsack 2

Iterating Through Submasks

Minimum Steps to One

Minimum Cost Path

Longest Sub Array

Max Non Adjacent Sum

Max Sum Contiguous Subsequence

Fractional Knapsack

Longest Increasing Subsequence O(nlogn)

Longest Common Subsequence

Optimal Binary Search Tree

Longest Increasing Subsequence

Fibonacci Numbers

Subset Generation

Minimum Partition

Matrix Chain Order

Minimum Coin Change

Fibonacci Numbers


Electric Power

Carrier Concentration

Coulombs Law

File Transfer

Equated Monthly Installments


Sierpinski Triangle

Julia Sets

Koch Snowflake


Fuzzy Logic

Fuzzy Operations

Genetic Algorithm

Lamberts Ellipsoidal Distance

Haversine Distance


Bezier Curve

Vector 3 for 2d Rendering


G Topological Sort

Page Rank

Minimum Spanning Tree Prims 2

Greedy Min Vertex Cover

Directed and Undirected (Weighted) Graph

Check Bipartite Graph Bfs

Breadth First Search 2

Kahns Algorithm Long

Finding Bridges

Depth First Search 2

Strongly Connected Components

Random Graph Generator

Multi Heuristic Astar

Depth First Search

Dijkstra 2

Greedy Best First

Articulation Points

Connected Components

Bfs Zero One Shortest Path

Breadth First Search Shortest Path

Markov Chain

Even Tree

Matching Min Vertex Cover

Minimum Spanning Tree Kruskal

Dijkstra Algorithm


Scc Kosaraju

Tarjans Scc

Minimum Spanning Tree Prims

Graph Matrix

Check Bipartite Graph Dfs

Frequent Pattern Graph Miner

Minimum Spanning Tree Kruskal 2

Graph List

Breadth First Search

Kahns Algorithm Topo

Gale Shapley Bigraph

Minimum Spanning Tree Boruvka

Bfs Shortest Path

Bidirectional a Star


Bellman Ford

Eulerian Path and Circuit for Undirected Graph

Graphs Floyd Warshall

Check Cycle

Edmonds Karp Multiple Source and Sink

Bidirectional Breadth First Search

Basic Graphs

Greedy Methods

Optimal Merge Pattern


Hamming Code

Chaos Machine

Enigma Machine

Adler 32


Greedy Knapsack

Linear Algebra

Polynom for Points

Conjugate Gradient

Rayleigh Quotient

Transformations 2d

Power Iteration

Schur Complement

Machine Learning

Lstm Prediction

Random Forest Classifier

Gradient Boosting Regressor

Scoring Functions

Data Transformations

Multilayer Perceptron Classifier

Random Forest Regressor

Similarity Search

K Nearest Neighbours

Gaussian Naive Bayes

Polymonial Regression

Linear Regression

Word Frequency Functions

Support Vector Machines

Local Weighted Learning

Sequential Minimum Optimization

Gradient Descent

Linear Discriminant Analysis

Logistic Regression


Gamma Recursive

Miller Rabin


Euclidean Gcd

Largest of Very Large Numbers

Sock Merchant

Binomial Distribution

Greedy Coin Change

Binary Exp Mod

Integration by Simpson Approx

Fermats Little Theorem

Average Mode

Triplet Sum

Nevilles Method


Runge Kutta

Prime Sieve Eratosthenes

Krishnamurthy Number

Power Using Recursion

Sylvester Sequence

Prime Check

Simpson Rule

Square Root

Jaccard Similarity

Euler Method

Average Absolute Deviation

Prime Factors

Monte Carlo

Basic Maths

Collatz Sequence

Newton Raphson


Degrees to Radians

Least Common Multiple


Armstrong Numbers

Decimal Isolate

Matrix Exponentiation

Two Sum

Average Mean


Greatest Common Divisor

Modular Exponential


Perfect Square

Segmented Sieve

Check Polygon

Perfect Cube

Polynomial Evaluation

Lucas Series

Ugly Numbers

Abs Max

Median of Two Arrays

Line Length

Quadratic Equations Complex Numbers

Points Are Collinear 3d

Aliquot Sum

Perfect Number

Mobius Function

Largest Subarray Sum

Pollard Rho

Average Median

Number of Digits

Find Max


Binomial Coefficient

Kth Lexicographic Permutation

Extended Euclidean Algorithm

Find Min Recursion

Radix 2 Fft

Trapezoidal Rule

Sum of Geometric Progression

Double Factorial Recursive

Sum of Arithmetic Series


Is Ip v 4 Address Valid

Sieve of Eratosthenes

Find Max Recursion

Abs Min

Proth Number

Pi Monte Carlo Estimation


Euler Modified

Geometric Series

Arithmetic Mean


Harmonic Series

Hexagonal Numbers

Find Min

Prime Numbers

Sum of Digits

Binary Exponentiation 2

Eulers Totient

Bailey Borwein Plouffe

Binary Exponentiation 3


Binary Exponentiation



Chudnovsky Algorithm

Allocation Number

Monte Carlo Dice

Is Square Free

Area Under Curve

Numerical Integration


Double Factorial Iterative

Factorial Iterative

Max Sum Sliding Window

Qr Decomposition

3n Plus 1

Hardy Ramanujanalgo

Zellers Congruence

Euclidean Distance

Factorial Recursive

Two Pointer

Prime Numbers

Newton Raphson



Nth Fibonacci Using Matrix Exponentiation

Count Islands in Matrix

Searching in Sorted Matrix

Matrix Class

Spiral Print

Rotate Matrix

Matrix Operation

Inverse of Matrix

Sherman Morrison

Networking Flow
Neural Network

Back Propagation Neural Network

2 Hidden Layers Neural Network

Convolution Neural Network

Numerical Analysis

Gaussian Elimination

Jacobi Iteration Method

In Static Equilibrium

Lu Decomposition

Newton Forward Interpolation


Fischer Yates Shuffle

Alternative List Arrange

Gauss Easter

Lru Cache

Check Strong Password

Lfu Cache

Davisb Putnamb Logemannb Loveland

Linear Congruential Generator


Nested Brackets

Tower of Hanoi

Dijkstra Bankers Algorithm

Least Recently Used


Activity Selection

Scoring Algorithm

Graham Scan

Password Generator


N Body Simulation

Horizontal Projectile Motion

Newtons Second Law of Motion


Deutsch Jozsa

Quantum Entanglement

Not Gate

Half Adder

Ripple Adder Classic

Single Qubit Measure


First Come First Served

Shortest Job First

Round Robin


Validate Solutions

Build Directory Md

Validate Filenames


Fibonacci Search

Double Linear Search

Quick Select

Binary Search



Hill Climbing

Sentinel Linear Search

Interpolation Search

Binary Tree Traversal

Jump Search

Double Linear Search Recursion

Simulated Annealing

Ternary Search

Simple Binary Search

Tabu Search

Linear Search



Stooge Sort

Bitonic Sort

Tim Sort

Recursive Insertion Sort

Exchange Sort

Recursive Mergesort Array

Tree Sort

Counting Sort

Natural Sort

Merge Insertion Sort

Radix Sort

Quick Sort



Selection Sort



Bead Sort

Shell Sort

Cocktail Shaker Sort

Msd Radix Sort

Pancake Sort

Pigeonhole Sort

Unknown Sort

Gnome Sort

Recursive Quick Sort

Topological Sort

Insertion Sort



Recursive Bubble Sort


Random Normal Distribution Quicksort

External Sort

Heap Sort



Iterative Merge Sort

Cycle Sort

Wiggle Sort

Random Pivot Quick Sort

Dutch National Flag Sort